Gold Enthusiast
|
Create a template, which is a blank** document (or otherwise new file) of the type you want to add to the New menu, then move it to the ShellNew folder in the Windows directory (C:\Windows\ShellNew for Win95/98/ME, or C:\WinNT\ShellNew for WinNT/2K/XP).
Launch the Registry Editor, open the HKEY_CLASSES_ROOT key, then locate the Registry key whose name is the extension of the template.
LEFT-click the key, then RIGHT-click the key, point to New, and click Key. Rename the key to ShellNew and press Enter.
RIGHT-click the ShellNew key, point to New, and click String Value, then rename it to FileName and press Enter. Double-click the FileName entry, type the name of the template, and press Enter. Close the Registry Editor.
Verify that the item appears in the New menu.
EXAMPLE:
Add a "Registry file" to the New menu. To do this, create a new Text Document, rename it to RegEntry.REG, and place it in the ShellNew folder.
Open the Registry Editor, double-click HKEY_CLASSES_ROOT, and click .REG. Right-click .REG and point to New, then click Key. Rename the key to ShellNew and press Enter.
Right-click the ShellNew key, point to New, click String Value, and rename the value to FileName. Double-click FileName, type "RegEntry.REG", then press Enter and close the Registry Editor.
** Note that the template need not be blank. In the example above, you might want to add the standard Registry file header since it's always required ("REGEDIT4" for Win9x/ME, and "Windows Registry Editor Version 5.00" for WinXP).
|