|
Here's our Tip for.. May 5, 1997
Click Here to see a complete list of all of our previously released Tips!
Add a new file type to the right-click menu
You can add a new file type to the options that appear when you right-click on the Desktop. In the program that creates the file type you're adding, create a "blank" document. To do this, enter the program, start a new file, and save it right away. Don't forget the file name. Note that you can save any normally used preferences here, which is useful for programs that don't support templates. Copy this file to the \Windows\ShellNew folder (it's a hidden folder). Now start REGEDIT. Under HKEY_CLASSES_ROOT, find the extension for that file type and right-click on it. Choose New|Key and name it ShellNew. Under this new key, add a new String Value called "FileName." Modify the value of this string (double-click it in the right pane) to be the file name of the blank template file you created. You need to include the extension, but the path is not necessary (the \Windows\ShellNew folder is the default). Your New file menu should now contain an option for your new file type.
Note: There are some applications that do their Registry entries a little differently, so you may have to modify the procedure a little. Of course, most of those programs are Windows 95 programs, so they should probably appear anyway on the menu (if they set up a ShellNew entry as they should have). Depending on the application, this procedure may not work. If it doesn't, try using the name "NullFile" and leaving the "Value data" field blank (leave it as "") instead of using the "FileName" convention as mentioned above.
WARNING!! This is a REGISTRY HACK! And as such, you MUST FIRST make a backup of your Registry so that you can recover from any mistakes you might make. The Registry is a very unforgiving place if you don't know EXACTLY what you are doing. An incorrect Registry entry can render your entire system INOPERABLE. DO NOT attempt to change Registry settings without a Backup.
Don't say we didn't warn you...
The Configuration Backup Utility is one of the CD-Extras, so if you don't have the CD-ROM version of Windows 95, CLICK HERE to download it now.
|