You can create a template for .dummy
(or whatever unused extension you like) files, then add a flag to indicate they should be created with no extension.
Here are the steps I followed:
- Create a file called 'asdf.dummy'
- Double-click on it, tell windows to always open it with notepad
- In regedit, go to "
HKEY_CLASSES_ROOT\.dummy
"
- Create the "
ShellNew
" key
- Under "
ShellNew
", create an empty string value named "NullFile
"
- Under "
ShellNew
", create a key named "Config
"
- Under "
Config
", create an empty string value named "NoExtension
"
Here's what I ended up with:
Windows Registry Editor Version 5.00
[HKEY_CLASSES_ROOT\.dummy]
@="dummy_auto_file"
[HKEY_CLASSES_ROOT\.dummy\ShellNew]
"NullFile"=""
[HKEY_CLASSES_ROOT\.dummy\ShellNew\Config]
"NoExtension"=""
I came across this question, just wondering if you found a solution? – TechnicalTophat – 2016-06-06T10:45:35.493