How to Add Other File Types to the New Item Menu in Windows 10’s File Explorer


00_lead_image_new_item_menu
The New Item menu in File Explorer allows you to create a new item for a specific program in the currently open folder. You can add items to this menu for other programs not included on it.
You’ll see this menu both on File Explorer’s Home tab, and on the right-click menu for any given folder, as shown here:
11a_new_option_on_context_menu
Some programs add entries to the New Item menu automatically, and some don’t. To add an item to the New Item menu for a program not on the New Item menu, we will use a combination of the Windows’ ShellNew folder and the registry. We’ll show you using a GIMP (.xcf) file as an example, though this should work with many other file types.

Step One: Add a Template File to the ShellNew Folder

The first thing we need to do is to create a new file in the program we want to add to the menu. For example, we created a new file in GIMP and set the size of the image to the size we want new images to be by default. We saved our GIMP file as template.xcf.
You can’t save your file directly to Windows’ ShellNew folder, so save it somewhere in your Documents folder, and then copy and paste the file into the C:\Windows\ShellNew folder. Click “Continue” on the Destination Folder Access Denied dialog box to give Windows permission to copy the file to the folder.
00a_access_denied_dialog
The file is pasted into the ShellNew folder. You may see other files there that were added automatically when you installed other programs.
01_putting_file_in_shellnew

Step Two: Add Your Template File to the Registry

Now that our new file is in place, we’re going to add a key to the registry that will use that file to create new files in the program we’re adding to the New Item menu.
Standard warning: Registry Editor is a powerful tool and misusing it can render your system unstable or even inoperable. This is a pretty simple hack and as long as you stick to the instructions, you shouldn’t have any problems. That said, if you’ve never worked with it before, consider reading about how to use the Registry Editor before you get started. And definitely back up the Registry (and your computer!) before making changes.
RELATED ARTICLES
Learning to Use the Registry Editor Like a Pro
How to Backup and Restore the Windows Registry
Open the Registry Editor by hitting Search/Cortana and typing regedit . Click regedit under Best Match, or press Enter, to open the Registry Editor and give it permission to make changes to your PC.
02_opening_regedit
In the Registry Editor, expand the HKEY_CLASSES_ROOT key in the left sidebar.
03_expanding_hkey_classes_root
Then, scroll down and look for the file extension that corresponds to the app you want to add to the New Item menu in File Explorer—in our case, .xcf for GIMP files. Right-click on the extension and go to New > Key.
04_creating_new_key
Name the new key ShellNew.
05_naming_shellnew_key
Next, you’ll need to create a new value inside the ShellNew key. Right-click the ShellNew key and choose New > String Value.
06_creating_new_string_value
Name the new string value FileName and then double-click on the new value.
07_double_clicking_filename_value
Enter the name of the file you created into the “Value data” box and click the “OK” button.
08_entering_name_of_template_file
Close the Registry Editor by going to File > Exit or clicking the “X” in the upper-right corner of the window.
09_closing_registry_editor
To have this change take effect, you need to restart your PC, not just sign out and back in.

How to Use Your New Menu Item

Now you can create a new file of the type you added. Open File Explorer and navigate to the folder in which you want to create the new file. Then, click the “Home” tab.
10_clicking_home_tab
In the New section on the Home tab, click  the“New Item” button. You should see an option for the program you added on the drop-down menu. In our example, “GIMP image” was added to the menu. Select the new option to create a new file of that type.
11_gimp_image_on_new_item_menu
You can also access the new option by right-clicking in the right pane in File Explorer and going to New > GIMP image (or the option for the program you added).
11a_new_option_on_context_menu
The new file you created is given a default name of “New” followed by the name of the option, but you can rename the file by selecting it and pressing F2.
12_new_gimp_image_file
To open the new file, simply double-click on it…
13_double_clicking_gimp_file
…and it opens in the associated program.
14_new_gimp_file_open
To remove an app from the New Item menu that you added, simply delete the ShellNew key in the registry under the appropriate extension under HKEY_CLASSES_ROOT.
NOTE: This procedure may not work for some programs, because not all programs support creating new files outside of the program. It worked for GIMP, but we also tested adding Snagit (.snag files) to the New Item menu and that did not work. You’ll have to experiment with programs you want to add. Don’t worry, though. If you try to add a program to the New Item menu and it doesn’t work, it won’t harm your system. You can simply delete the registry key you added and the file you added to the ShellNew folder.
Share on Google Plus

0 comments:

Post a Comment