[How To] Open Dos Prompt Command Here in Windows 7, and more

Posted by Kent on August 27th, 2009, in How to, Tips & Tricks tagged in: , ,
free computer fix

If you like the power toy “Open Command Prompt Here” in Windows XP, you will pretty much love the new context menu “Open Command Window here” in Windows 7. Read on, more tips at the bottom. :)

What is it?

It’s a right-click context menu that opens a command prompt window at the current working directory, wherever you pop up the context menu.

How?

In Windows Explorer, simply hold the Shift key and right-click the folder you want to set as working directory, choose Open Command Window here.

image

image

What’s new and cool?

If the folder you are opening from is from a network place, let’s see what happens.

image

image

Yes, it automatically maps a drive letter for you.

Hmm, how can I open it as Administrator?

Click Start Menu, type “cmd” in the search box, hold down the Shift key and right-click cmd command. And choose Run as administrator from the context menu.

image

How to pin a command window to taskbar?

Click Start Menu, type “cmd” in the search box, drag and drop the cmd command to the taskbar. To modify properties, hold down the Shift key and right-click the Prompt Window icon on the taskbar. To have a complete context menu show up, make sure no Command Window open.

image

If you want to change the working directory to something else, click Properties, and type in the new directory in Start in box.

image

As you may have noticed, you can not only open a command window as administrator, but also as any different user too.

Related Articles From Windows7hacker:

Subscribe to W7H Tips & Tricks (Why?)

Email:

Comments (7)

  1. Rafael says:

    Great tips! Thanks :)

  2. felix says:

    Awesome!, still would prefer it to just be in rmb menu, don't see any need to hide it under shift key. :/

  3. felix says:

    Awesome!, still would prefer it to just be in rmb menu, don't see any need to hide it under shift key. :/

  4. Miguel says:

    Great tips! Do you know any way to unhide this option (instead of holding shift)?
    Stumbled this one.

  5. George says:

    It seems to work only on a local lettered drive (C:).It doesn’t seem to work on a network drive letter. It opens a DOS window in C:\Windows\system32> instead.

    • Kent says:

      Well, it definitely works for network drives. Maybe the account you log in doesn’t have the rights to map the network drive?

      Cheers.

    Trackbacks/Pingbacks (3)

  1. We Have Reached 1 Million Pageviews in 2010, Thanks To All Our Readers | Windows7hacker
    [...] 10. How To Open DOS Prompt Command Here in Windows, and more [...]
  2. Checking Your Disk by Running CHKDSK Command in Windows 7 | Windows7hacker
    [...] First of all, you will have to run through the Command Prompt window as administrator. [...]
  3. How To Turn Aero Back On or Re-Enable It After Being Disabled in Windows 7 | Windows7hacker
    [...] to Glenn, who shared an even better way of re-turning Aero back on in the comment. You will have to open Dos Prompt window with administrator privilege first and run the following two command, basically to re-start uxsms, the Desktop Window Manager [...]

Leave a Reply


Nero Now Offers Free Version for End Users

Screen Saver Taking Longer to Start ? In Windows 7 and Vista

7stacks Stacks Your Icons on Your Taskbar in Windows 7 [Tool]

Here is What the Browser Ballot Looks Like in Windows 7 Europe Edtion

Aero Shake, Peek, and Snap Your Way in Windows 7 [Features]