Right Click - Edit with Notepad
Developers and system administrators often need to open files of types that aren't mapped to a particular program. This ofcourse requires that slow "Open With" window to pop up. A trick I recently found is to add a shortcut to the right click menu, to open files with notepad.
This is done by editing the registry, under HKEY_CLASSES_ROOT\*\ There may or may not be a key under the * called Shell, if its not there create a key called Shell under HKEY_CLASSES_ROOT\*\. Under the Shell key create a key called Notepad, and under notepad create a key called Command. So now you shold be in HKEY_CLASSES_ROOT\*\Shell\Notepad\Command. Set the value of (Default) in the Command key to be notepad %1 or the path to another text editor.
Now when you right click on any file there will be a item in the menu called Notepad, that you can use to open the file with notepad.
Related Entries
- Right Click to Open Command Prompt in Directory - July 22, 2004
- Seinfeld's Productivity Tip - July 24, 2007
- Apple 30 Inch Cinema Display Boosts Productivity up to 73% - March 27, 2006
- Increase Productivity with Action Tagging - August 1, 2005
- xcopy - Handy tool on windows - December 9, 2003
Trackbacks
Trackback Address: 69/F20BF0C5A0307F1E73DFFD28750D77E4
Comments
On 03/03/2004 at 10:31:22 AM EST sean wrote:
1
Or you could place a shortcut in the sendto folder.
RightClick -> SendTo -> Notepad
I wonder if a script could be written to take advantage of the "file" command [http://www.die.net/doc/linux/man/man1/file.1.html] that I commonly use on my linux desktop.
On 12/22/2004 at 1:23:36 AM EST Anonymous wrote:
2
<h1>You may find it interesting to visit some information in the field of... Thanks!!! </h1>
On 05/08/2005 at 2:26:34 PM EDT James Moberg wrote:
3
Shortcuts are good... notepad is not good.
I've replaced notepad with metapad. Small, fast, no filesize limit, intelligent find-and-replace, goto line/column, UNIX file support, recent files list, wordwrap and more.
Metapad http://www.liquidninja.com/metapad/
On 01/09/2006 at 9:30:57 PM EST Normando wrote:
4
I tried this tip and set it to open wordpad. Unfortunately, whenever I right-click on a file and select Wordpad, it asks me which program to open the file with, so I select Wordpad and check always use this setting. The setting doesn't keep and it asks me every time I use my new right-click shortcut.
Any help is appreciated.
On 02/07/2006 at 5:33:26 PM EST Elmer Horne wrote:
5
I have a website created with FrontPage and editable with FP from the creating computer. But I'm networked to a second computer which offers only Notepad for editing. Should I be able to access FrontPage for editing on my second computer as well?
On 01/13/2007 at 7:19:46 PM EST LoWu wrote:
6
Awesome!! thanks just what i was looking for.
On 02/16/2007 at 10:29:41 AM EST Mklm wrote:
7
How handy!
On 03/18/2007 at 3:58:27 PM EDT I wrote:
8
Sweet this is perfect, thx.
On 03/25/2007 at 12:47:45 PM EDT OneSeventeen wrote:
9
Awesome! this is perfect for README files and other unix-originated files that have no file extension!
I'm using SciTE, but just about any text editor works great here!
On 10/29/2007 at 2:17:32 AM EDT Hans wrote:
10
I have used the tip to put notepad to the right-click menu and I have also added my own program (which crops and resizes pictures) to that rightclick menu. However, when I pass a picture to my own program it often fails because only the shortened names like "D:\AFBEEL~1\PONTJE~1.JPG" are passed to my program instead of the full name "D:\AFBEELDINGEN\PONTJE VAN PIET.JPG" DOes anyone know of a solution for this problem?
On 03/26/2008 at 12:01:39 AM EDT mypharmalife wrote:
11
Agreed WBR, Alex http://world-pharma.pillsfm.com My favourite pharma supermarket
Post a Comment
Recent Entries
- Cache Template in Request Setting Explained
- What Version of Java is ColdFusion Using?
- ColdFusion 9 Performance Brief from Adobe
- Request Filtering in IIS 7 Howto
- J2EE Session Cookies on ColdFusion / JRun
- Hands on ColdFusion Security Training
- ColdFusion 9 Solr Vulnerability - Are you at Risk?
- FCKEditor Year 2010 Bug for Firefox 3.6 with ColdFusion
RightClick -> SendTo -> Notepad
I wonder if a script could be written to take advantage of the "file" command [http://www.die.net/doc/linux/man/man1/file.1.html] that I commonly use on my linux desktop.
I've replaced notepad with metapad. Small, fast, no filesize limit, intelligent find-and-replace, goto line/column, UNIX file support, recent files list, wordwrap and more.
Metapad http://www.liquidninja.com/metapad/
Any help is appreciated.
I'm using SciTE, but just about any text editor works great here!



add to del.icio.us



