Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
How to Add or Remove "Edit in Notepad" Context Menu in Windows 11
#1
How to Add or Remove "Edit in Notepad" Context Menu in Windows 11

Adding the "Edit in Notepad" option to the context menu in Windows 11 allows you to quickly open text-based files in Notepad by simply right-clicking on them. This guide will show you how to add or remove this context menu entry using the Windows Registry.

Step 1: Open the Registry Editor

1. Press Windows + R to open the Run dialog box.
2. Type regedit and press Enter.
3. If prompted by User Account Control (UAC), click Yes to allow access to the Registry Editor.

Step 2: Navigate to the File Type Key

1. In the Registry Editor, navigate to the following path:

 
Code:
HKEY_CLASSES_ROOT\*\shell

2. Right-click on the shell key, and select New > Key.
3. Name the new key Edit in Notepad.

Step 3: Add the Command for Notepad

1. Right-click on the Edit in Notepad key you just created.
2. Select New > Key, and name it command.
3. Click on the command key to select it.
4. In the right pane, double-click on the (Default) value.
5. In the Value data field, enter the following command:

 
Code:
notepad.exe %1

6. Click OK to save the changes.

Step 4: Test the Context Menu

1. Close the Registry Editor.
2. Right-click on any text-based file (such as a `.txt` file).
3. You should now see the Edit in Notepad option in the context menu. Clicking it will open the selected file in Notepad.

Step 5: Remove the "Edit in Notepad" Option (Optional)

If you decide you no longer want the "Edit in Notepad" option in the context menu, you can remove it by following these steps:

1. Open the Registry Editor again by pressing Windows + R, typing regedit, and pressing Enter.
2. Navigate to the following path:

 
Code:
HKEY_CLASSES_ROOT\*\shell\Edit in Notepad

3. Right-click on the Edit in Notepad key and select Delete.
4. Confirm the deletion, close the Registry Editor, and the option will be removed from your context menu.

Conclusion

By adding the "Edit in Notepad" option to the Windows 11 context menu, you can quickly edit text-based files directly from the right-click menu. This guide provides an easy way to add or remove this feature based on your needs.
Reply


Forum Jump:


Users browsing this thread: 3 Guest(s)