Windows Server 2008

How can I add Command Prompt Here to the right click context menu in Windows Explorer on a server running Windows Server 2008?
jamesh1031Asked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

evanmcnallyIT ConsultantCommented:
You do not need to add anything.   In Vista and higher (including Server 2008 and 200 R2), hold down shift while right-clicking on a folder.  One of the contextual menu options will be 'Open Command Window Here".

This does not work in the folder tree on the left pane of an explorer window, but will work for any directory in the right pane (the normal explorer view).
0
jamesh1031Author Commented:
I do not see "Open Command Window Here"
RightContext.gif
0
Neil RussellTechnical Development LeadCommented:
Im afraid it does. If you are in windows explorer and do a SHIFT-Right click IN THE RIGHT HAND PANE you get the following
untitled.bmp
0
Simplify Active Directory Administration

Administration of Active Directory does not have to be hard.  Too often what should be a simple task is made more difficult than it needs to be.The solution?  Hyena from SystemTools Software.  With ease-of-use as well as powerful importing and bulk updating capabilities.

evanmcnallyIT ConsultantCommented:
Yes, I probably should have put the SHIFT part of my instructions in CAPS.

If you do not hold shift prior to clicking, then you will not be given the Command Window option.
0
jamesh1031Author Commented:
I do not get that right click context menu on the Windows Server 2008 Server (using RDP) nor do I get it on my Windows 7 machine.
0
jamesh1031Author Commented:
I used SHIFT each and every time.
0
Brad HoweDevOps ManagerCommented:
Here you go,

Disable
Windows Registry Editor Version 5.00
[HKEY_CLASSES_ROOT\Drive\shell\cmd]
"Extended"=""
[HKEY_CLASSES_ROOT\Directory\shell\cmd]
"Extended"=""


Enable
Windows Registry Editor Version 5.00
[HKEY_CLASSES_ROOT\Drive\shell\cmd]
"Extended"=-

[HKEY_CLASSES_ROOT\Directory\shell\cmd]
"Extended"=-

No need to hold down SHIFT anymore.

Cheers,
Hades666
0
jamesh1031Author Commented:
y'all understand shift or no shift I'm not seeing  'Open Command Window Here" right?

0
Brad HoweDevOps ManagerCommented:
Yes, what i posted in a REGISTRY entry.
Open Notepad, Save as 2 different files. 1 DISABLe with the entries above and 2 ENABLE with the enable entries.
It will add the "open command line here" context item.
I just did it for me on Windows 2008 R2, Win7 and Vista.
Cheers,
Hades666
0
jamesh1031Author Commented:
So why did the 2 earlier guys just have it on their computers? Did they modify their registry? I have got lots of computers to look at.
0
evanmcnallyIT ConsultantCommented:
Understood that you are using Shift.

I have tried on several servers, 2008, 2008 R2, Windows 7, it work on them all.

Have you done any customizations previously that affect shell extensions?  Perhaps broken this feature?

Do you have another server to try it on to compare?





Voila-Capture11.jpg
0
jamesh1031Author Commented:
It only works on Directories not files.
0
Brad HoweDevOps ManagerCommented:
Open NOTEPAD

Create a file called DISABLE.REG with the code below

Windows Registry Editor Version 5.00
[HKEY_CLASSES_ROOT\Drive\shell\cmd]
"Extended"=""
[HKEY_CLASSES_ROOT\Directory\shell\cmd]
"Extended"=""


Create another file called ENABLE.REG with the code below to add "Open Command line Here"

Windows Registry Editor Version 5.00
[HKEY_CLASSES_ROOT\Drive\shell\cmd]
"Extended"=-

[HKEY_CLASSES_ROOT\Directory\shell\cmd]
"Extended"=-

The click on ENABLE.REG, CLick yes to warning and merge.  the context option will now appear.

-Hades666
0
Brad HoweDevOps ManagerCommented:
Open command line here is not for FILES. It is open the folder context and has always been - hades666
0
evanmcnallyIT ConsultantCommented:
My Screen shot is specifically a 2008 Server with NO modifications.  As I said earlier, it is built-in to Windows now.  But if you had previously made changes of your own prior to posting your question, I could see that causing problems.  Have you made any such changes?
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
jamesh1031Author Commented:
No as I stated just a minute ago, you can open Folders NOT Files. I see it.
0
Brad HoweDevOps ManagerCommented:
As well, IF you want hte context option to appear on files directly, those extentions need to be associated with COMMAND LINE. For example if you right click on a .BAT, .VBS, .CMD etc... the option is there.
All MS did was hide it.
Hades666
0
evanmcnallyIT ConsultantCommented:
You are changing your original question.  Command prompt here has always been for directories as hades666 just pointed out.

If you want to work on a command line that specifies a file automatically, I suggest you open Start Menu > Run.  Drag the file in question to the blank Run field.  The full path to the file will be filled into Run and you can execute or modify the command at that point.
0
jamesh1031Author Commented:
Thanks everyone.
0
evanmcnallyIT ConsultantCommented:
Glad to help, thanks for the points.  And good luck!
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Windows Server 2008

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.