Jump to content

How to show all file extensions? SOLVED


codeblue

Recommended Posts

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.lnk

I'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 Clicky

Enter in Notepad and save as a vbs file

On Error Resume Next
Set WshShell = WScript.CreateObject("WScript.Shell")
WshShell.RegDelete "HKCR\lnkfile\NeverShowExt"

Dim MyBox

MyBox = MsgBox("You must Log Off/Log On for the changes to take effect.", vbOKOnly,"Done")

VisitKelly's Korner

Sub 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 If
End Sub

You can also download a vbs to undo it as well ;-)

Edited by codeblue
Link to comment
Share on other sites


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 by mhc
Link to comment
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...