Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

I am doing quite a bit of work at the command line and recently started having to do it on a Windows 2003 box.

I can't figure out how to add a Command Prompt Here to a folder context menu. And googling usually brings back methods for doing this in other OSes.

Any ideas?

share|improve this question

3 Answers 3

up vote 3 down vote accepted

You can install the XP Powertoy, or just add this to your registry

Create these 2 keys:

HKCR\Directory\shell\Open Command Prompt Here
HKCR\Directory\shell\Open Command Prompt Here\command

then set the default value for the \command key to cmd.exe /k "cd %L"

You can replace "Open Command Prompt Here" with whatever you want the right-click context menu to say.

share|improve this answer
    
You can also set the text for the context menu item in the default value for the "Open command prompt here" key. The advantage of this method is that you can put an ampersand before the letter you wish to be the access key, e.g. Command &prompt here will underline the p. –  Walf Jan 21 at 0:59

It's part of the Windows Server 2003 Resource Kit , just right click on the Cmdhere.inf file and click install.

share|improve this answer

I found it hard to believe that there isn't a CPH solution for Server 2003. Did you try googling:

"Command Prompt Here" "server 2003"

I quickly found this:

http://www.eknori.de/2008-07-13/elevated-command-prompt-here/

...and also, in another post someone talked about the XP Powertoy not working on some versions of 2003.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.