Access Command Prompt from where you are
Do you choose to open a prompt and use cd all the time to navigate directories?
Many people that use Windows also use the Command Prompt / Command Window / DOS Prompt (or whatever you choose to call it). If your answer is yes and need a time saver solution for this, you will have to play a bit with your registry. Lets do this.
1. Start > Run > “regedit” [Enter]
2. Open HKEY_LOCAL_MACHINE/Software/Classes/Folder/shell/
3. Right-click on Shell > New > Key
4. Name it Command Prompt (or anything you would like to show in your Right click context menu)
5. In the right frame, for the default value, of the Command Prompt key you just made, enter whatever text you want to appear in the context menu (e.g. Open Command Prompt Here -or- Commaaaaaannnd!)
6. Back in the left frame, right-click Command Prompt (or whatever you called it) > New > Key
7. Name this sub-key: command [Note: it must be named command to work]
8. In the right frame of command, set the default value to cmd.exe /k pushd %L
The first line makes a registry key for the Windows Explorer shell. This name appears on the right-click context menu when you right-click a folder. The second line places the code that gets executed when you click the menu item. This line of code launches the command prompt (cmd.exe) in interactive mode using the /k switch. The pushd command stores the name of the current directory, and %L places that stored name into the variable spot.
I’ve only run this script on Windows XP Pro for my own use. Your experience may differ, so I hold no responsibility if something wrong with your registry or it does not work.
4 Comments
Comments RSS TrackBack Identifier URI
Leave a comment

Some alien talk going on…Not for me…
hi
Agree
Eric
Thanks for the information!
I opened this website for myself long time ago. Today it has become even better. I like the links and info that is given here, I just dislike some people. They make a lot of mistakes when posting or commenting. They are usually rude and have a bunch of problems I think. They spoil this website. I would want them to leave this place alone and go somewhere else to have their kind of fun.