Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Sometimes I run som commands in the Command Prompt (cmd) on Windows, i.e. for compiling. And it would be handy if I could open Explorer at the current path with a command.

If it is possible, how can I start Explorer at the current path from command prompt on Windows?

share|improve this question

1 Answer 1

up vote 4 down vote accepted

Like this:

explorer .

The period being used to represent the current folder. Single one meaning this folder, Two of them, being the next folder up the hierarchy.

If at C:\Users\Bonzo...

explorer .

Opens up the folder C:\Users\Bonzo

explorer ..

Opens up the folder C:\Users, and

explorer ..\..

Opens up C:\

The dots work also with the cd command and pretty much anywhere else you need to specify locations.

share|improve this answer
1  
even shorter, on Windows 7 and Windows XP and before (seem to recall in broke in Vista): "start ." Less typing. –  MikeBaz Aug 26 '10 at 17:09

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.