New Menu - Context and File

How to Add and Remove a Item in the"New" Context Menu


information   Information
The New menu is located in the Context (right click) menu and Windows Explorer File menu. This will show you how to add and remove a item of your choice to the New menu.
Note   Note
In the root and root folders of C: drive, the only New context menu item available is Folder.
Tip   Tip


EXAMPLE: Context menu New menu Items Before (Default) and After
New_Context_Default.jpgNew_Context_After.jpg
EXAMPLE: File menu New menu Items Before (Default) and After
File_New_Default.jpgFile_New_After.jpg
warning   Warning
Before you make changes to the registry, you should backup the ShellNew key under the file extension you will be changing. (See step 6 below)

1. To Backup Registry Key
A) Right click ShellNew and click Export.​
B) Save the exported REG file to where you want it.​
NOTE: This is the back file.​
2. To Restore Registry Key
A) Right click on the exported REG file and click Merge.​
B) Confirm the action to restore the registry key back to the same as the REG file.​






Here's How:
1. Open the Start Menu.​
2. In the white line (Start Search) area, type regedit and press Enter.​
3. If prompted, click on Continue in the UAC prompt.​
4. In regedit, go to:​
NOTE: Go to the key of the file extension (left pane) of the item you want to add to the New menu.​
HKEY_CLASSES_ROOT\(File Extension)

FOR EXAMPLE: For a New Batch File, go to (.bat) : (See screenshot below)​
HKEY_CLASSES_ROOT\.bat

warning   Warning
For an existing file extension that you want to remove from the New Menu, skip this and go to to Option One (step 8) instead.
5. In the left pane, right click on the file extension (EX: .bat) and click on New and Key.​
File_Extension.jpg

6. Type ShellNew and press Enter. (See screenshot below)​
ShellNew.jpg




Option One
To Add or Remove a Blank New Item
7. To Add a Blank New Item
NOTE: This will create a new blank (no content) file of the file extension.​
New_Item.jpg
A) In the right pane, right click on a empty area and click on New and String Value. (See screenshot below step 6)​
B) Type NullFile and press Enter. (See screenshot below)​
C) Continue to step 9, or go to step 13.​
NullFile.jpg


8. To Remove the Blank New Item or Already Existing Item
A) In the left pane of the file extension, right click on ShellNew and click on Delete. (See screenshot above)​
NOTE: To just hide it instead to make it easy to restore again later if you wanted, right click on ShellNew and click on Rename. Rename it to ShellNew*. To unhide it, just remove the * from the name.
B) Continue to step 9, or go to step 13.​





Option Two
To Add or Remove a New Item with Content or Data
9. To Add a New Item with Content or Data
A) Do step 7 first.​
NOTE: This will create a new file of the file extenstion with content or data the you will enter in step D below.​

EXAMPLE: When you right click on the created New item and click Edit, you will have the content you added in it.​
New_Item.jpgEdit_New_Item.jpg
B) In the right pane, right click on a empty area and click on New and String Value. (See screenshot above)​
C) Type Data and press Enter. (See screenshot below)​
D) In the right pane, right click on Data and click on Modify.​
Data.jpg

E) Type in the Text or Data content that you want the New item to always have when created and click on OK. (See screenshot below)​
Modify_Data.jpg

F) You should now see something like this. (See screenshot below)​
G) Continue to step 11, or go to step 13.​
Data_Finished.jpg


10. To Remove a New Item with Content or Data
A) In the right pane, right click on Data and click Delete. (See screenshot above)​
NOTE: To just hide it instead to make it easy to restore again later if you wanted, right click on ShellNew and click on Rename. Rename it to ShellNew*. To unhide it, just remove the * from the name.
B) Continue to step 11, or go to step 13.​





Option Three
To Add or Remove a New Item that is a Copy of Another File
11. To Add a New Item that is a Copy of Another File -
WARNING: This will override step 7 and 9, so you will need to choose to do either those steps or this step.​
NOTE: This will create a new file of the file extension that is a copy of the file you will specify in step 11D below.​
EXAMPLE: When you right click on the created New item and click Edit, you will have the copied content of the file you chose.​
New_Item.jpgEdit_New_Item2.jpg
A) In the right pane, right click on a empty area and click on New and String Value. (See screenshot below step 6)​
B) Type FileName and press Enter. (See screenshot below)​
C) In the right pane, right click on FileName and click on Modify.​
FileName.jpg

D) Type in the full path of the file you want copied and click on OK. (See example screenshot below)​
NOTE: If you add the file you want copied into C:\Windows\ShellNew , then you will just need to type the name of the file instead. (EX:Old Batch File.bat)​
WARNIING: The file you want copied must have the same file extension.​
Modify_FileName.jpg

E) You should see something like this now. (See screenshot below)​
FileName_Finished.jpg

F) Go to step 13.​

12. To Remove a New Item that is a Copy of Another File
A) In the left pane, right click on ShellNew and click Delete. (See screenshot above)​
NOTE: To just hide it instead to make it easy to restore again later if you wanted, right click on ShellNew and click on Rename. Rename it to ShellNew*. To unhide it, just remove the * from the name.

13. Close regedit.​
14. Log off and Log on, or restart the computer to apply the changes.​

That's it,
Shawn




 

Attachments

  • New_Menu.jpg
    New_Menu.jpg
    3.3 KB · Views: 374
Last edited:
Your welcome Pclove.

I would recommend that you rename shellnew to shellnew* to remove them instead though. This way it would be a lot easier to restore them if you decided to later by simply renaming it back to shellnew.
 

My Computers

System One System Two

  • Operating System
    Windows 10 Pro 64-bit
    Manufacturer/Model
    Custom
    CPU
    Intel i7-8700K 5 GHz
    Motherboard
    ASUS ROG Maximus XI Formula Z390
    Memory
    64 GB (4x16GB) G.SKILL TridentZ RGB DDR4 3600 MHz (F4-3600C18D-32GTZR)
    Graphics card(s)
    ASUS ROG-STRIX-GTX1080TI-O11G-GAMING
    Sound Card
    Integrated Digital Audio (S/PDIF)
    Monitor(s) Displays
    2 x Samsung Odyssey G7 27"
    Screen Resolution
    2560x1440
    Hard Drives
    1TB Samsung 990 PRO M.2, 4TB Samsung 990 PRO PRO M.2, 8TB WD MyCloudEX2Ultra NAS
    PSU
    Seasonic Prime Titanium 850W
    Case
    Thermaltake Core P3
    Cooling
    Corsair Hydro H115i
    Mouse
    Logitech MX Master 3
    Keyboard
    Logitech wireless K800
    Internet Speed
    1 Gb/s Download and 35 Mb/s Upload
    Other Info
    Logitech Z625 speaker system, Logitech BRIO 4K Pro webcam, HP Color LaserJet Pro MFP M477fdn, APC SMART-UPS RT 1000 XL - SURT1000XLI, Galaxy S23 Plus phone
  • Operating System
    Windows 10 Pro
    Manufacturer/Model
    HP Envy Y0F94AV
    CPU
    i7-7500U @ 2.70 GHz
    Memory
    16 GB DDR4-2133
    Sound Card
    Conexant ISST Audio
    Monitor(s) Displays
    17.3" UHD IPS touch
    Screen Resolution
    3480 x 2160
    Hard Drives
    512 GB M.2 SSD
Back
Top