Where’s "Command Window Here" In Windows 7?

One of my oh-so favorite "PowerToys" that goes back all the way to Windows 95 is Command Prompt Here. This was later changed to Command Window Here for XP’s PowerToys, but did the same thing.

Command Window Here is a very simple right-click context menu option. You right-click a folder, select Command Window Here and a Command Prompt launches exactly in that folder. This is very convenient to have when you’re several folders deep so you don’t have to manually type out where you want to be.

Example location: c:\windows\system32\drivers\etc. Some of you out there may be familiar with this because that’s where the HOSTS file is located.

Let’s say I launch Windows Explorer and navigate one folder above that location where etc is in plain view, which would be drivers:

image

Open Command Window Here is – get this – built in to Windows 7.

How to get to it?

Hold SHIFT, right-click on the folder you want to be in via a Command Prompt, and…

image

image

And I didn’t even have to download or install any PowerToys.

Want to know what’s even better? It works for any folder – even on shortcuts that point to a folder.

If you’re wondering if you can do the same on Start menu items, yes you can – except there’s one extra step involved. If you SHIFT+right-click a Start menu item, the option present to open the physical folder location is Open File Location. Once Explorer pops up, just go one folder back, then SHIFT+right-click, Open Command Window Here and you’re good to go.

Free eBook!

Like what you read?

If so, please join over 28,000 people who receive our exclusive weekly newsletter and computer tips, and get FREE COPIES of 5 eBooks we created, as our gift to you for subscribing. Just enter your name and email below:

Post A Comment Using Facebook

Discuss This Article (Without Facebook)

6 comments

  1. Is there some option that I have to check to get the “open command winsow” in the right-click context menu? I’m running Win7 64bit and it doesn’t appear to be there. Now this isn’t the end of the woeld since I rarely use the command window. Maybe it’s one of those 64bit limitations.

  2. All the screen shots you see are from Windows 7 Home Premium 64-bit which is what I use.

    SHIFT + Right-click will get you the “Open Command Window Here” for a folder, not right-click alone.

  3. Oops! There it is. Thank you. Sorry for overlooking that. Maybe it will help some other people from making the same “skimming” error.

  4. Joe Huard /

    Okay, fine; but what is it used for? Please explain why this is better than just clicking on the ETC folder or creating a shortcut for this same folder if it is accessed numerous times.

  5. Define “it” and then I can answer your question.

  6. Let me try and field this one.

    Joe, If you are going to run a command line function and run cmd.exe for the start menu, it will open a command window starting in the directory c:users”user” (“user” equals the current logged in user). at least that’s where it opens on my PC. Now if I want to run a command line function for a program in another directory, I would have to either change directories using the cd command or reference the full path in the command line function that I want to execute. By opening up a command window whithin the specific directory which my program lies, I save all of the extra typing.

    I hope that answers your question.

    Of course, it is possible that you are missing the implied need for the command window for a specific purpose. If you don’t need to use the command window, then the option has little purpose.

    Bob

Leave a Reply

PCMech Insider Cover Images - Subscribe To Get Your Copies!
Learn More
Every week, hundreds of tech enthusiasts, computer owners
and geeks read The Insider, the digital magazine of PCMech.

What’s Your Preference?

Daily Alerts

Each day we send out a quick email to thousands of PCMECH readers to notify them of new posts. This email is just a short, plain email with titles and links to our latest posts. You can unsubscribe from this service at any time.

You can subscribe to it by leaving your email address in the following field and confirming your subscription when you get an email asking you to do so.

Enter your email address for
Daily Updates:

Weekly Newsletter

Running for over 6 years, the PCMECH weekly newsletter helps you keep tabs on the world of tech. Each issue includes news bits, an article, an exclusive rant as well as a download of the week. This newsletter is subscribed to by over 28,000 readers (many who also subscribe to the other option) - come join the community!

To subscribe to this weekly newsletter simply add your email address to the following field and then follow the confirmation prompts. You will be able to unsubscribe at any time.

Enter your email address for
Free Weekly Newsletter: