How to reset shortcuts (.lnk file) in win7?
Somehow I went to open a shortcut and windows couldn't find the target but instead of pointing the shortcut to the exe it pointed the lnk file handler to the exe, so now all my lnk files are trying to be opened by the borderlands game.
I'm guessing I can do it by resetting the .lnk entry in HKEY_CLASSES_ROOT, but I don't know what to set it to.
Thank god for system restore points.
I don't know a direct fix, but I'm back up and running.
If you can't fix it with a scapel, try a sledgehammer.
- Create a new text file
- Paste the following inside
Windows Registry Editor Version 5.00
[HKEY_CLASSES_ROOT.lnk\ShellNew] "Command"="rundll32.exe appwiz.cpl,NewLinkHere %1"
- Save the file as "Something.reg"
- Double-click the file
I can't guarantee that it will fix your problem (since I don't have it myself), but having tested this on my current computer, I can tell you at least that this is harmless (and reading the keys which are modified, it seems to indeed restore the behavior for .lnk extensions).
Doug Knox has fixes for this and other similar problems available for download, look for:
LNK (Shortcut) File Association Fix (Restores Default Shortcut Behavior)
The extension Lnk is associated with the Lnkfile which is more commonly known as a Shortcut.
To repair your apparent misassociation, open a command window and type:
press enter and you should be good to go.