Jump to content

Add "Open with Notepad" to the Context Menu for All Files


Marik

Recommended Posts

The default method of opening unknown files forces you to go through a list of known applications and is generally a pain to deal with. That's why I like to have a context menu option for "Open with Notepad" so that I can quickly open up files without having to go through a lot of trouble.

This registry hack is nothing new, it's been around forever… think of this as a refresher course. Also note that you can use this same technique to substitute any other application that you'd like by adjusting the path in the registry to point to the different editor.

25h1qw7.png

Manual Registry Hack

Open regedit.exe through the start menu search or run box, and then browse down to the following key:

HKEY_CLASSES_ROOT\*\shell

2cfcbw9.png

Right-click on "shell" and choose to create a new key, calling it "Open with Notepad". Create a new key below that one called "command". Double-click on the (Default) value in the right-hand pane and enter in the following:

notepad.exe %1

The change should take effect immediately… just right-click on any file and you'll see the next menu entry.

Download Registry Hack

Just download, extract and double-click on the OpenWithNotepad.reg file to enter the information into the registry. There's also an uninstall script included.

Download

Link to comment
Share on other sites


  • Replies 5
  • Views 2.3k
  • Created
  • Last Reply

thanks M but what a pain in the ass it is to download from this link.i wish i wasn't so lazy sometimes.

Link to comment
Share on other sites


heh...well i could think of another besides rs....oh w8 there's always mediafire :sneaky:

Link to comment
Share on other sites


heh...well i could think of another besides rs....oh w8 there's always mediafire :rofl:

just post the code inside the reg.. :P

Link to comment
Share on other sites


heh...well i could think of another besides rs....oh w8 there's always mediafire :rofl:

just post the code inside the reg.. :P

REGEDIT4

[HKEY_CLASSES_ROOT\*\shell\Open with Notepad]

[HKEY_CLASSES_ROOT\*\shell\Open with Notepad\command]
@="notepad.exe %1"

Link to comment
Share on other sites


  • 3 weeks later...

i actually had this thing already, i was just suggesting that method instead of uploading reg files to filehosts.. ;)

Link to comment
Share on other sites


Archived

This topic is now archived and is closed to further replies.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...