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?

link|improve this question

feedback

1 Answer

up vote 2 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.

link|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
feedback

Your Answer

 
or
required, but never shown

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