codeblue Posted October 1, 2008 Share Posted October 1, 2008 (edited) In currently updating my WPI installation and writing my cleanup file to tidy the start menu. It would be realy usefull if i could show ALL the file name of shortcuts eg Photoshop.lnkI've googled and searched MSFN but only found the "Hide extensions for known file types". This works for most but not all! How can i show extensions for shortcuts?EDIT:I take no credit for this, found it at Kelly's Corner ClickyEnter in Notepad and save as a vbs fileOn Error Resume NextSet WshShell = WScript.CreateObject("WScript.Shell")WshShell.RegDelete "HKCR\lnkfile\NeverShowExt"Dim MyBoxMyBox = MsgBox("You must Log Off/Log On for the changes to take effect.", vbOKOnly,"Done")VisitKelly's KornerSub VisitKelly's Korner If MsgBox("This script came from the Tweaks Section of Kelly's Korner" & vbCRLF & vbCRLF & "Would you like to visit Kelly's Web Site now?", vbQuestion + vbYesNo + vbDefaultButton, "Visit Kelly's Korner") =6 Then wshshell.Run "http://www.kellys-korner-xp.com/xp_tweaks.htm" End IfEnd SubYou can also download a vbs to undo it as well ;-) Edited October 1, 2008 by codeblue Link to comment Share on other sites More sharing options...
mhc Posted October 3, 2008 Share Posted October 3, 2008 (edited) Your .VBS file will add the .lnk extension to items in the Start Menu folder. It will not add extensions to other types of shortcuts, nor will it add extensions to items in the Send To folder. The following file, if imported into the registry via RegEdit, will add all those extensions as well as a couple others:Windows Registry Editor Version 5.00[HKEY_CLASSES_ROOT\CLSID\{888DCA60-FC0A-11CF-8F0F-00C04FD7D062}]"NeverShowExt"=-[HKEY_CLASSES_ROOT\CLSID\{9E56BE60-C50F-11CF-9A2C-00A0C90A90CE}]"NeverShowExt"=-[HKEY_CLASSES_ROOT\CLSID\{ECF03A32-103D-11d2-854D-006008059367}]"NeverShowExt"=-[HKEY_CLASSES_ROOT\DocShortcut]"NeverShowExt"=-[HKEY_CLASSES_ROOT\InternetShortcut]"NeverShowExt"=-[HKEY_CLASSES_ROOT\lnkfile]"NeverShowExt"=-[HKEY_CLASSES_ROOT\piffile]"NeverShowExt"=-[HKEY_CLASSES_ROOT\SHCmdFile]"NeverShowExt"=-[HKEY_CLASSES_ROOT\ShellScrap]"NeverShowExt"=-And here's an "undo" file:Windows Registry Editor Version 5.00[HKEY_CLASSES_ROOT\CLSID\{888DCA60-FC0A-11CF-8F0F-00C04FD7D062}]"NeverShowExt"=""[HKEY_CLASSES_ROOT\CLSID\{9E56BE60-C50F-11CF-9A2C-00A0C90A90CE}]"NeverShowExt"=""[HKEY_CLASSES_ROOT\CLSID\{ECF03A32-103D-11d2-854D-006008059367}]"NeverShowExt"=""[HKEY_CLASSES_ROOT\DocShortcut]"NeverShowExt"=""[HKEY_CLASSES_ROOT\InternetShortcut]"NeverShowExt"=""[HKEY_CLASSES_ROOT\lnkfile]"NeverShowExt"=""[HKEY_CLASSES_ROOT\piffile]"NeverShowExt"=""[HKEY_CLASSES_ROOT\SHCmdFile]"NeverShowExt"=""[HKEY_CLASSES_ROOT\ShellScrap]"NeverShowExt"="" Edited October 3, 2008 by mhc Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now