Right Click to Open Command Prompt in Directory
By Pete Freitag
Here's a handy tip that I got from a co-worker, who found it in the book Microsoft Visual C# .NET Step by Step. It creates a shortcut in the right click context menu of Windows Explorer to open a command prompt in the current directory. When I need to run scripts in a very long directory name, this is very handy.
So here's how you set it up:
- Open up windows explorer
- Tools -> Folder Options.
- File Types Tab
- Select the
- Click Advanced
- Click New
- For the
Actiontype what ever you want the context menu to display, I used
- For the
Application used to perform the actionuse
c:\windows\system32\cmd.exe(note on win2k you will want to specify the winnt directory instead of the windows directory)
You can also use this feature to attach context actions to file types. Or if you want to create a right click open with option for any file type (for instance I like to be able to open any file with notepad, see: my blog entry here.
Right Click to Open Command Prompt in Directory was first published on July 22, 2004.
If you like reading about windows, tips, or productivity then you might also like:
- Right Click - Edit with Notepad
- Seinfeld's Productivity Tip
- Apple 30 Inch Cinema Display Boosts Productivity up to 73%
- Increase Productivity with Action Tagging