Windows 7 Forums
Welcome to Windows 7 Forums. Our forum is dedicated to helping you find support and solutions for any problems regarding your Windows 7 PC be it Dell, HP, Acer, Asus or a custom build. We also provide an extensive Windows 7 tutorial section that covers a wide range of tips and tricks.

Windows 7: How do I add a item to the "New" context menu?

16 Dec 2010   #1

Win7 Home Premium 64x
How do I add a item to the "New" context menu?

Can one use this to add entirely new file extensions in the registry?
For instance, there's a game I play that uses a scripting file (in reality nothing more than a plain text, but it's annoying to always have to go save-->all files--->.sqf)

I want to make it so that I can just spawn a new .sqf from the New menu, is this possible? What I have tried doing:
HKEY_LOCAL_MACHINE\SOFTWARE\Classes\ ---> (New Key --> .sqf) ---> (New Key ---> shellnew) --->(String "NullFile")

But nothing is coming up. Is there a way to do this?

My System SpecsSystem Spec
05 Jun 2011   #2

Windows 7 Ultimate


Select relevant file extension or create one... ie .bat

Right click file extension and select New Key and name it ShellNew

In that key right click default and create a new string value called
FileName containing a valid path to c:\windows ShellNew\example.bat
NullFile leaving it's value blank.

The FileName method allows you to use a template file which may contain
in the case of a batch file @echo off as the first line.

The NulFile method creates an empty file.

Hope this helps.
My System SpecsSystem Spec

 How do I add a item to the "New" context menu?

Thread Tools

Similar help and support threads
Thread Forum
Remove "Restore previous versions" and "Share with" from context menu
Hello! ... How about removing these two: "Restore previous versions" and "Share with"
Context menu item "Format" missing on my DVD RW drive
I am running Win 7/SP1. I have a Sony Blu-Ray Burner BWU-500S. When I right click on the drive I no longer have a format option in the context menu. Does anyone know how I can restore/recreate the format item? I just recently did a clean install of Win 7 & have been in the process of reloading all...
Hardware & Devices
context menu item "trash" open
Hello, I would add "Open Trash" to the context menu. I can not find the command to put in the registry. I put the icon and the name "Trash". it appears with "right click". But the value 'command'? I can not find. a big thank you for your help.
How to add a "Copy Shortcut text" context menu item
I modify and clean up the start menu entries on all my machines, and it's an irritation having to construct shortcuts to a program file that you are looking at in Explorer by- Highlight and copy the folder address from Explorer address bar Paste into the target shortcut address Manually...
Getting rid of "extract..." context menu item in windows 7
I installed 7-zip to handle compressed files which makes the windows 7 build in one redundant. But I can't seem to get rid of the "extract..." context menu entry. It only appears when right click dragging. What are the required registry modifications? Thanks.

Our Sites

Site Links

About Us

Find Us

Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.

Designer Media Ltd

All times are GMT -5. The time now is 11:54.
Twitter Facebook Google+