Windows 7 Forums
Welcome to Windows 7 Forums. Our forum is dedicated to helping you find support and solutions for any problems regarding your Windows 7 PC be it Dell, HP, Acer, Asus or a custom build. We also provide an extensive Windows 7 tutorial section that covers a wide range of tips and tricks.


Windows 7: Open Command Window Here

Open Command Window Here

How to Use "Open Command Window Here" in Windows 7
Published by Brink
06 Oct 2009
Published by

How to Use "Open Command Window Here" in Windows 7


information   Information
This will show you how to use the Open Command Window Here context menu item of a folder or drive to open a command prompt with the focus at the folder or drive location in Windows 7.

This will make it easier to perform a command task at that folder or drive location instead of having to open a command prompt normally and manually type the folder location in it using the CD\ command.
Note   Note
  • The Open Command Window Here context menu is only available for a folder, included library folder, or drive in Windows Explorer, Navigation Pane, and on the Desktop.
  • The Open Command Window Here context menu is not available for a Library or files (ex: exe, txt, etc...).
  • The Open Command Window Here context menu item only opens a normal command prompt and not an elevated command prompt.
warning   Warning
This will not work with Library folders.

EXAMPLE: "Open Command Window Here" for a Folder and Drive
Name:  Folder_command_prompt.jpg
Views: 82212
Size:  43.5 KB
Name:  Drive_command_prompt.jpg
Views: 81856
Size:  43.3 KB
Here's How:
1. Press and hold the Shift key and right click on the folder or drive that you want to open a command prompt with the focus at, and click on Open Command Window Here.
Name:  Folder_Context_Menu.jpg
Views: 81992
Size:  71.5 KBName:  Drive_Context_Menu.jpg
Views: 82060
Size:  60.0 KB
2. Release the Shift key.
That's it,
Shawn








26 Oct 2009   #1
Darryl Licht

Windows 7 Ultimate 64 bit Steve Ballmer Signature Edition
 
 

Now that's a cool trick/tool for those of us who have experience at the old DOS prompt!

My System SpecsSystem Spec
13 Nov 2009   #2
Spike09

 
 

Is it in "run as administrator" mode?
My System SpecsSystem Spec
13 Nov 2009   #3
Brink
Microsoft MVP

64-bit Windows 8.1 Enterprise
 
 

Hello Spike, and welcome to Seven Forums.

Sorry, but no. It's not a elevated (run as adminsitrator) command prompt.
My System SpecsSystem Spec
.


16 Dec 2009   #4
cclloyd9785

Windows 7 Home Premium x64, Mac OS X 10.6.2 x64
 
 

is there a way that i can run a command window as an admin, from where it says Open Command Window Here on the context menus?
My System SpecsSystem Spec
16 Dec 2009   #5
Brink
Microsoft MVP

64-bit Windows 8.1 Enterprise
 
 

Working on it now for you Lloyd. I'll post back when the new tutorial is finished.
My System SpecsSystem Spec
16 Dec 2009   #6
Brink
Microsoft MVP

64-bit Windows 8.1 Enterprise
 
 

Ok Lloyd. Here you go.

Open Command Window Here as Administrator

Hope this helps,
Shawn
My System SpecsSystem Spec
23 May 2011   #7
geere04

windows 7 home premium 32 bit
 
 

thanks...i got it....more power...
My System SpecsSystem Spec
13 Jun 2013   #8
johngalt

 

Hey, Brink, ltns.

I just ran into some very odd behavior that I'm hoping you might clear up.

I used this method to open a cmd prompt window at a particular directory, but an application that is installed to Program Files refuses to work - but if I open a cmd prompt normally, and navigate to the same directory the tool works from its installation location in C:\Program Files (x86)\.

Any ideas on why this odd behavior is occurring?
My System SpecsSystem Spec
13 Jun 2013   #9
Brink
Microsoft MVP

64-bit Windows 8.1 Enterprise
 
 

Hello John,

Not sure. Go ahead and post a screenshot showing the command prompt and what command you entered with it to see if something may show as why.
My System SpecsSystem Spec
Comment

 Open Command Window Here




Tutorial Tools



Similar help and support threads for2: Open Command Window Here
Windows 7 Tutorial Category
Open Command Window Here as Administrator Tutorials
Solved No REG Command in "Open elevated command window here" DOS Box General Discussion
Open Command Window Here - Add or Remove Tutorials
Solved Open Network window with a command? Customization
Open Command Window Here General Discussion
Problem open command Window(administrator) Network & Sharing
Solved Open elevated command window here General Discussion

Our Sites

Site Links

About Us

Find Us

Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.

Designer Media Ltd

All times are GMT -5. The time now is 01:19 PM.
Twitter Facebook Google+



Windows 7 Forums

Seven Forums Android App Seven Forums IOS App
  

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33