Learning and Sharing
  • Home
  • Blog
  • Linux
  • macOS
  • Virtualization
    • VMware
    • VirtualBox
  • Windows
    • Windows 11
    • Windows 10
    • Windows Server
  • Series
    • Symantec
    • Intune
    • Microsoft Azure
    • Powershell
    • VirtualBox
    • VMware
    • PowerShell Learning
    • Microsoft Graph
  • More
    • Auto Installation
    • AEC Installation
  • Contact
No Result
View All Result
  • Home
  • Blog
  • Linux
  • macOS
  • Virtualization
    • VMware
    • VirtualBox
  • Windows
    • Windows 11
    • Windows 10
    • Windows Server
  • Series
    • Symantec
    • Intune
    • Microsoft Azure
    • Powershell
    • VirtualBox
    • VMware
    • PowerShell Learning
    • Microsoft Graph
  • More
    • Auto Installation
    • AEC Installation
  • Contact
No Result
View All Result
No Result
View All Result

How to Add Open with Notepad Option to the Right-Click Context Menu

November 12, 2022
in Blog, Windows 10, Windows 11, Windows 7
0
ADVERTISEMENT

Table of Contents

Notepad is a basic text editor in all Windows editions, it’s extremely useful when you want to edit text files quickly. By default, when you want to open a file with Notepad, you right-click on the file > Open with > Notepad. But going through the steps and then opening the file can be tiresome.

Add Open with Notepad to the Context Menu Using Registry

1. Type regedit into the Windows search box then click Registry Editor from the result to open it.

Note Alternatively: Press to open the Run box. Type regedit into the box then hit .

2. In the Registry Editor, expand . Then, right-click the shell key on the left panel and select New > Key.

3. Name this key Open with Notepad.

4. Now, right-click on the Open with Notepad key you just created and select New > Key. Then, name that key command.

5. Select the command key then on the left panel and double-click the Default entry on the right panel to open the Edit String dialog box. 

6. In the Value data text box, enter the following string value and then click on OK to close the dialog box.

notepad.exe %1

Now, when you right-click on a file, you should see the option Open with Notepad. But has no icon next to that option. To add it, let’s move to the next step.

7. Right-click on the Open with Notepad key that you previously created in the Registry Editor. Then, select New > Expandable String Value.

8. Name it Icon then on the right panel, double-click the newly created Icon entry and paste the following string value in the text box for Value data:

C:\Windows\System32\notepad.exe

Now when you right-click a file, you’ll see the Open with Notepad option with the Notepad icon appear right beside it, which just makes it look nicer.

ADVERTISEMENT

Add Open with Notepad to the Context Menu Using Commands

If you don’t want to do it manually, you can execute the below commands in an elevated Command Prompt window to add Open with Notepad into the right-click context menu in Windows 10/11.

Add Open with Notepad to the Context Menu

reg add "HKEY_CLASSES_ROOT\*\shell\Open with Notepad\command" /ve /d "notepad.exe %1" /f
reg add "HKEY_CLASSES_ROOT\*\shell\Open with Notepad" /v Icon /t REG_SZ /d "C:\Windows\System32\notepad.exe" /f
taskkill /im explorer.exe /f & explorer.exe

Remove Open with Notepad to the Context Menu

reg delete "HKEY_CLASSES_ROOT\*\shell\Open with Notepad" /f
taskkill /im explorer.exe /f & explorer.exe

Add Open with Notepad to the Context Menu Using Batch File

Alternatively, you can create a batch file to add Open with Notepad into the right-click context menu automatically.

If you even don’t want to create the batch files 😁. You can download them from this link.

ADVERTISEMENT
5/5 - (1 vote)
Previous Post

How to Bypass This Processor isn’t Supported for This Version of Windows

Next Post

How to Add or Delete Registry Key and Entry using Command Prompt

Related Posts

Running Hyper-V and VMware Workstation on The Same Machine

August 15, 2024

How to Uninstall All Autodesk Products At Once Silently

July 29, 2024
Ftr5

How to Uninstall the Autodesk Genuine Service on Windows

July 29, 2024
Ftr19

How to Fix Windows Cannot Read the ProductKey From the Unattend Answer File in VirtualBox

July 26, 2024
Ftr25

How to Update Windows Terminal in Windows 10/11

July 26, 2024

How to Disable The Beep Sound in WSL Terminal on Windows

July 26, 2024

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

Recent Posts

  • How To Turn On uBlock Origin Extension in Chrome (2025)
  • Images Hidden Due To Mature Content Settings In CivitAI
  • Azure OpenAI vs Azure AI Hub, How to Choose the Right One for Your Needs

Categories

Stay in Touch

Discord Server

Join the Discord server with the site members for all questions and discussions.

Telegram Community

Jump in Telegram server. Ask questions and discuss everything with the site members.

Youtube Channel

Watch more videos, learning and sharing with Leo ❤❤❤. Sharing to be better.

Newsletter

Join the movement and receive our weekly Tech related newsletter. It’s Free.

General

Microsoft Windows

Microsoft Office

VMware

VirtualBox

Technology

PowerShell

Microsoft 365

Microsoft Teams

Email Servers

Copyright 2025 © All rights Reserved. Design by Leo with ❤

No Result
View All Result
  • Home
  • Linux
  • Intune
  • macOS
  • VMware
  • VirtualBox
  • Powershell
  • Windows 10
  • Windows 11
  • Microsoft 365
  • Microsoft Azure
  • Microsoft Office
  • Active Directory

No Result
View All Result
  • Home
  • Linux
  • Intune
  • macOS
  • VMware
  • VirtualBox
  • Powershell
  • Windows 10
  • Windows 11
  • Microsoft 365
  • Microsoft Azure
  • Microsoft Office
  • Active Directory