Open Explorer Window from Command Prompt to Your Current Location

Contributor Icon Contributed by David Kirk     
Tag Icon Tagged: Windows  

You are 8 directories deep in the command prompt and you want to open an explorer window exactly where you are? Easy.


I had forgotten about this trick. I did it in front of one of my buddies who is a GUIs-suck-command-prompts-rock kinda guy, and he flipped. Maybe I can slowly convert him over to the real world.

So you have navigated deep into a complicated folder structure with your command prompt… like this for example:

C:\Documents and Settings\xxx\My Documents\old documents\1997\tax\backup

You decide, “Hey, I probably could do this easier with an explorer window.”
But, you think “Crap, I don’t want to click and click until I find this directory again.”

Either one of these commands will accomplish your needs…

    start .
    explorer .

Do notice the space and dot after the command. This is what points explorer to the correct directory. By entering either of these commands, the explorer window will open to your current folder in your command prompt.

 

8 Comments -


  1. Tom said on December 26, 2008

    Thanks a lot man, helped me make a menu for starting my games :P I forgot about this little bit.

  2. Msterup said on September 29, 2009

    I found out how to open a window in ie from cmd…

    [CODE]

    Start iexplore.exe x

    x = url

    [/CODE]

  3. Anonymous said on October 16, 2009

    awesome post bro

  4. Asdfas said on September 13, 2010

    thanks a lot..

  5. Kevin Johnson said on November 12, 2010

    Thanks! I am always annoyed how I have to manually open the window for my blender (blender foundation) movies! Now I can write a easy bash script for me!

  6. brn said on May 5, 2011

    thanks, exactly what I wanted

  7. Guest_abc said on May 19, 2011

    Awesome post ,helped me in writing java programs easily.

  8. Upul said on November 18, 2011

    Thanks a lot. I was looking for this for sometime.

 

RSS feed for comments on this post. TrackBack URL

Leave a comment -