Ask Leo!

How can I get Windows Explorer to default to open on a directory of my choosing?

Home » Windows » Windows Oddities

Summary: You can create a shortcut to open Windows Explorer on the directory of your choice.

How can I get Windows Explorer to default to open on a directory of my choosing?

Create a new shortcut to Windows Explorer and on that shortcut select Properties. The "Target:" field will be something like: "%SystemRoot%\explorer.exe". Simply change that to include the desired directory, like this: "%SystemRoot%\explorer.exe d:\directory". Now that shortcut will open Windows Explorer directly on "d:\directory".

Article 243 | Posted June 4, 2004

Recent Comments

Try this:

%SystemRoot%\explorer.exe /n, /e, /select, C:\

Posted by: Alan at December 7, 2006 07:02 PM

At last!
I've been trying to do this for ages!!!
Why doesn't Explorer give any command line help (explorer /?)?
Cheers, Mac

Posted by: Mac at May 30, 2007 02:41 AM

Thanks a million for the various tips on opening Windows Explorer to show a specific directory/drive on my Windows XP system.

"%SystemRoot%\explorer.exe /e,d:\" worked perfectly for me.
Thanks

Posted by: Hubert Taylor at December 6, 2007 03:58 PM

Is there a way to change the default folder that explorer goes to when you right click on Start and choose Explore?

Posted by: Rusty at January 29, 2008 08:25 AM

advice was great to open in 'c' drive-- the only online help i've found that worked.
still, i'm looking for how to get my explorer to open, two paned, with the 'my computer' highlighted in the left pane, drives hightlighted in the right pane, with only 'my documents' and 'my computer' expanded in the left pane (and not have "C" expanded in the left.
CAN YOU HELP ME?! (i did read article, finding the code to open in two panes helpful; still, i can't get computer to acknowledge "my computer" as a legit path).
pleaseeeeeeeee....?

Posted by: jean crowley at February 5, 2008 10:09 AM

dear leo-
still need help if you're out there... and if you want a latte....
i would like my 'windows explorer' to open as follows:
-two paned
-left pane: My Documents, expanded, and
My Computer, expanded & highlighted
right pane: drives displayed
all i've been able to manage is to have it open with My Computer expanded and the 'local disc (C)' highlighted in the left pane, and therefore all my 'C' folders are featured in the right pane.
puh-leeeeeezeee????? this is driving me crazy... an increasingly shorter trip.
jc
p.s. i did read the article and still can't get it to do what i want.

Posted by: jean crowley at March 5, 2008 01:55 PM

I did what you suggested, however it will not associate itself with internet explorer and won't open the page. This happens on a few web page icons I have on my desktop. The only one that opens is the actual internet explorer icon
Thanks

Posted by: Roger at June 11, 2008 09:15 AM

i want to set my default in windows xp to open to My Computer..what is the line I have to add?

Posted by: Dusty at July 4, 2008 01:23 AM

This site is awesome! Thanks Leo. This is the only site I've found that resolved this issue. A Guiness on me.

Posted by: Alex Campbell at September 7, 2008 05:24 PM

HELLOW
i had problem with windows explorer . when i open the folder or partition drive it automatically close the windows. so how can i remove this problems.
thanks for your kind cooperation.

Posted by: CP at September 12, 2008 01:43 AM

Post a comment on "How can I get Windows Explorer to default to open on a directory of my choosing?":






(Email Address will not be published.)

Remember Me?

By popular demand...
my tip jar
Cuppa Joe
Buy Leo a Latte!

(you may use HTML tags for style)

New!

RSS feed Subscribe to the RSS Feed specifically for comments on this article.

Before commenting, please...

Please wait. Your comment is being processed ...


Ask Your Question:


ask-leo.com
Web

Stay Informed

Weekly Newsletter

Archives

By Category
By Date

Advertisers

Advertise on Ask Leo!

««   »»

Question? - Ask Leo!
Who is Leo?
Link to Leo!

Terms, Conditions & Privacy