Add a “New file” to the Windows 10 Context Menu

Have you ever thought that life would be made easier and more productive if you had a quick way of creating a file at your fingertips?

Windows has always been very picky about file extensions, and non-standard Microsoft file types can be a pain to create quickly, but there’s a neat trick to add these to the “New” menu.

First you need to open up the Windows Registry Editor application and expand HKEY_CLASSES_ROOT

Within this list, you will need to search for your desired file extension.

In my case, I want to add Python files to the Context Menu. I will need to find a folder in this list named .py as this is the file extension used for python files.

Similarly, if you wanted to quickly create a new html file, you would look for .html

You will need to add a new Key named : ShellNew.
Right click on your desired file extension and click New -> Key.
Name it : ShellNew

You should now see a new “Folder” called ShellNew:

The last step will be to add a new String Value to the ShellNew key, named NullFile.
Right Click on ShellNew : New -> String Value

Name this : NullFile.
Your Registry Editor should now look something like this:

You can now check your Context Menu to see if your changes worked!

Enjoy your productivity!

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.