Paste following code in notepad and save it with name
"vishal.reg" (including quotes):
Code:
Windows Registry Editor Version 5.00
[HKEY_CLASSES_ROOT\*\shell\notepad]
@="Open with Notepad2"
[HKEY_CLASSES_ROOT\*\shell\notepad\command]
@="C:\\Notepad2.exe"
PS: Replace "C:\\Notepad2.exe" with the exact path of the file and make sure to use
\\.
Now run the file and u'll get an option "Open with Notepad2" whenever u'll right-click on any file.