I’ve already known how to add specific extension to the New Menu in Windows 7 with regedit, but now I want to add the type FILE (i.e. pure file without an extension), how can I do it?
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Ah, I got it right with google. Here is the solution:
1. Create a key of any extension or just a ‘.’ in the HKEY_CLASSES_ROOT, and make the default value ‘genericfile’
2. Create the ShellNew in the extension you just created
3.Create a string in the ShellNew with the name ‘NullFile’ and the value empty
4.Create the key ‘Config’ in the ‘ShellNew’ and a string in the config with the name ‘NoExtension’ and value empty
5.Create the key ‘genericfile’ in the HKEY_CLASSES_ROOT, and make the default value the text you want to display in your new context value (Such as “New Empty File”)
Wish helps you a lot 🙂