3

When I'm in a particular directory in a Windows command prompt, I sometimes want to open Windows Explorer so it already shows that same directory. How do I do that?

(I'm looking for the equivalent to open . in a Mac OS X terminal.)

3 Answers3

5

Either one of these should do the trick:

explorer .
start .
heavyd
  • 63,745
  • And how do I make it point to the folder I want? It works by the so +1 ;-) – Ivo Flipse Feb 10 '10 at 18:46
  • 1
    start foldername – Chris_K Feb 10 '10 at 18:50
  • If you use start foldername as Chris_K suggested, and only get a new cmd.exe window, try start "" foldername instead. If the first argument to start is quoted, it is taken not as the file/command to be started, but instead as the new window's title. So sometimes it is needed to specify an empty title to get around this idiocy. – u1686_grawity Feb 11 '10 at 14:01
2
explorer.exe path

IE: C:\>Explorer C:\Windows

0

You can run

explorer %cd%
explorer %__cd__%
Wasif
  • 8,474