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: 141060
Size:  43.5 KB
Name:  Drive_command_prompt.jpg
Views: 140629
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: 141014
Size:  71.5 KBName:  Drive_Context_Menu.jpg
Views: 140883
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 10 build 10130
 
 

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 10 build 10130
 
 

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 10 build 10130
 
 

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 10 build 10130
 
 

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
Windows 7 Tutorial Category
Open Command Window Here - Add or Remove
How to Add or Remove "Open Command Window Here" from Context Menu in Windows This will show you how to add or remove Open Command Window Here from the context menu of the desktop, folders, and drives in Vista, Windows 7, and Windows 8. You must be logged in as an administrator to be able to...
Tutorials
Open Command Window Here as Administrator
Add or Remove "Open Command Window Here as Administrator" to Context Menu This will show you how to add or remove Open Command Window Here as Administrator to the context menu of a folder, drive, and desktop of all users to open an elevated command prompt with the focus at the folder, drive,...
Tutorials
Open Network window with a command?
Hi there, i would like to know if its possible to open up this window with a command in the commandprompt? I was planning on putting it in a batch file and execute the batchfile with a button made in rainmeter. Would be very handy for people who have a customized taskbar. At the moment I've only...
Customization
Open Command Window Here
For all DRIVES, <shift>|right-clicking displays OPEN COMMAND WINDOW HERE in the context menu, above the first separator. That item opens the command prompt. But for all other folders the OPEN COMMAND WINDOW HERE item displays below the first separator in the context box, and clicking on it...
General Discussion
Problem open command Window(administrator)
I'm trying to create some auto setup procedures but can not setup a CMD administrator command ( non administrator seems to work) registry tweak ; //run administrator command from explorer @="Open Command Window Here (Administrator)"
Network & Sharing
Open elevated command window here
I could prolly figure it out but does anyone know offhand how to add an "Open elevated command window here" option in addition to the "Open command window here" shift+context menu for a folder?
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 08:47.

Twitter Facebook Google+



Windows 7 Forums

Seven Forums Android App Seven Forums IOS App