Open Explorer Window from Command Prompt to Your Current Location

   Posted June 2, 2012 by Jimmy Selix in Windows

You are eight directories deep in the terminal, and you want to open an Explorer window exactly where you are. By following these steps, you can accomplish this easily! This works in all modern versions of Windows including XP, Windows 7, and Windows 8.

You have navigated deep into a complicated folder structure with your command prompt, as the example below illustrates:

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

You decide you could do this more easily with an Explorer window, but you also realize that you do not want to click and click until you find this directory again. You really just want to open Explorer exactly where you are in your currently in the terminal.

Either one of the following 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.

In my example above, I have navigated to C:\ProgramData\Adobe in the command line window.  We can easily open Windows Explorer to our current working directory by using this technique.


About Jimmy Selix

Jimmy Selix is an early adopter that loves to be one of the first on the block to have the latest and greatest in technology and gadgets. Another love of his is being able to share his knowledge to others seeking it. Feel free to drop any comments or questions that you may have.
View more articles by Jimmy Selix

The Conversation

Follow the reactions below and share your own thoughts.

  • Tom

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

  • Msterup

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


    Start iexplore.exe x

    x = url


  • Anonymous

    awesome post bro

  • Asdfas

    thanks a lot..

  • 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!

  • brn

    thanks, exactly what I wanted

  • Guest_abc

    Awesome post ,helped me in writing java programs easily.

  • Upul

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

  • sudha

    Thanks for the great trick. But, I’m unable execute the explorer command. It says ” ‘explorer’ is not recognized as an internal or external command, operable program or batch file.”. I couldn’t find a proper solution. Help me.

    • David Kirk

      > You didn’t leave a space between explorer and the period.

      • David Kirk

        > This works with windows 8. I tested it today.

  • black4silver

    this works too: ii .

  • Ashish

    For open an explorer copy in a notepad

    “@start “” /b “C:Program FilesInternet Exploreriexplore.exe” %* ”

    and save as .bat file