Have you ever done something on your computer without really thinking about it, but the person next to you has a surprised and confused look on their face? If so, then you might have performed a Stupid Geek Trick. Today we’ll show how to open an Explorer window from the current command prompt directory.
Let’s begin… just open up a command prompt and then type in the following (the . passes the current directory to Explorer)
You’ll immediately see an Explorer window show up with the contents of the directory your command prompt is in.
If you want to type less characters, you can use the following instead:
You can even use the full path to a folder…
Or one of the built-in shell variables…
Or the newer shell: operator style:
And you’ll see that directory instantly show up:
And finally, don’t forget that you can also use most of these techniques from the File Open/Save Dialog.
Programmer by day, geek by night, The Geek, also known as Lowell Heddings, spends all his free time bringing you fresh geekery on a daily basis. You can follow him on Google+ if you'd like.
- Published 06/24/08