Many a times, you may need to edit the code of a file. The best option is to do so with notepad. It would be a fast method to add a "View with notepad" option in the right-click context menu. This article is just dedicated to the same.

Steps

1

Navigate to Accessories>Command Prompt

2

Type "regedit" without quotes

3

The Registry Editor opens. Open HKEY_CLASSES_ROOT>*

4

Name the new key as "View with Notepad" without quotes

5

Once again right-click on View with notepad and choose New>Key

6

Name the new key as "command" without quotes

7

Click on command, and double-click (Default) on the right pane to modify it

8

Enter the value "notepad.exe %1" without quotes

9

Now right-click on any file and click "View with Notepad" to immediately edit it with notepad