
By default, Windows Explorer opens up in the “My Documents” folder, which is far from useful (assuming you don’t store all your documents there). Just today, I figured out how to get Windows Explorer to open in a folder that you specify. Here’s how to do it:
%SystemRoot%\explorer.exe /n,/e,{Desired_Path}. For example: %SystemRoot%\explorer.exe /n,/e,C:\. Note that the commas are required!Now, each time you open Windows Explorer, it will point to your desired location. This is an incredibly useful tip that will now save me two clicks for every explorer window that I open!
March 16, 2008 at 4:03 pm
NICE JONAH! I’ve been looking at how to do this, off and on for a while now, so glad you beat me to it!
Thanks for posting!
March 17, 2008 at 7:22 am
“Start in” is not an explorer feature, it’s there for any shortcut. It tells the application to start as if you had a console window open in the “Start in” directory and then typed %SystemRoot%\explorer.exe.
March 17, 2008 at 12:33 pm
@Michael: Glad you liked the post!
@Kip:
You are correct. I’ve used this a time or two to force other applications to do what I want. The “Start in” field (as far as I know) essentially sets the working directory of the application. I assumed that doing so with Explorer would essentially force it to open up there. I was wrong.
I found that you can indeed set it up so that it starts using the value in the “Start in” field, but then it forgets which monitor it was on the next time you open it up (for whatever weird reason). The solution I present in this article doesn’t have that bug.