I have been playing around with my registry on my pc (I know a dangerous thing to do some times).
Now what I had done was similar to that in the post on how to edit VBS files in VBSEditor, I created a folder in C:\Program Files\ called Notepad2 and copied the files for Notepad2 into there.
To set up Notepad to to edit documents from a right click you need to do the following:
- Open up Registry Editor
- Go to HKEY_CLASSES_ROOT\name of the file type in this case it is the inf file so:
- HKEY_CLASSES_ROOT\inffile
- under there go to the Shell key and create a new key called "Edit with Notepad2"
- under that create another key called "command"
Then:
once you have created the 2 new keys
in the command double click on the default value and enter in the following:
"C:\Program Files\Notepad2\Notepad2.exe" "%1"
and then click on ok.
Once you then right click on an inf file you will get the following option:
