Often the need to edit/view system text files comes up.
Being able to open any file regardless of extention comes in handy.
A simple registry hack makes this simple.
Go to HKEY_CLASSES_ROOT\AllFilesystemObjects and add a new key named "shell"
under the "shell" key you just added add a new key and name it the way you want it to show in Explorers context menu. I named mine "open in Wordpad"
Next under the key you just added make the last key and name it "command"
Last double click the default value in the "command" key and add the full path to Wordpad followed by a space and %1 this will cause the currently sellected file to be opened.
IE; C:\\Program Files\\Windows NT\\Accessories\\wordpad.exe %1
Under the "shell" key you created you can add as many new keys and commands as you need for day to day use. Just follow the same key structure, and add the appropriate program for the job.
Copy and paste the reg script below to a text file named EditAnyFile.reg, right click then merge to speed up getting it into the registry.
---- cut here ----
Windows Registry Editor Version 5.00
[HKEY_CLASSES_ROOT\AllFilesystemObjects\shell\open in Wordpad\command]
@="C:\\Program Files\\Windows NT\\Accessories\\wordpad.exe %1"
---- end cut ----
Hope this will help.
Keep Up with TechRepublic