I needed something today : add a shortcut to my right-clic menu for creating a new Python (or whatever) file.
Inside regedit, find the entry HKEY_CLASSES_ROOT/.py .
Quit regedit, now you've got your new entry inside the right-click menu.
Another solution maybe to use this Python Cookbook recipe to manipulate the registry contents.
The problem is that your new document will be empty. Using the PowerToys Tweak UI is even easier and you can have your own template : see this page for details.
Comments Back to index