I have been troubled by a problem since I installed Windows 7. After I removed "√" from "DIRECTORY Options" and "Hide extensions of known file types", the shortcut extension on the desktop also came out, and it looked very uncomfortable. Remember to remove the "√" and "shortcut extension (. lnk) is not displayed. Why is there such a strange thing in win 7?
Remove "√" before "Hiding extensions of known file types"
The desktop shortcut has a very annoying ". lnk" extension.
Many related solutions have been found online, such as clicking "start"> "execute", typing "cmd", entering the command prompt status, and typing assoc on the keyboard. lnk = lnkfile (no space in the middle). Press enter." And so on. I found that these articles are all nonsense and cannot solve the problem.
After several twists and turns, I finally found a solution to the problem. I found that my system missing a "nevershowext" under hkey_class_root/lnkfile by comparing to a normal win 7 system Injection Table ", therefore, I created a new string value "nevershowext" under hkey_class_root/lnkfile. The data is empty, and then I restarted the computer and found that the problem was solved.
Create a new string value "nevershowext" under hkey_class_root/lnkfile"
Therefore, the solution to hiding the shortcut extension (. lnk) is:
① "START" → "execute", type the "Regedit" command, and open the system injection orders table;
② Locate the hkey_class_root/lnkfile item and create a new string value named "nevershowext". The data is empty and does not need to be filled in;
③ Restart your computer, the ". lnk" extension will be hidden, and the extension of other files will not be hidden.
Hide the shortcut extension (. lnk)