Forcing Windows Explorer to show the folders list

Started by Robert Collins, December 22, 2005, 03:30:57 PM

Previous topic - Next topic

Robert Collins

How can I force Windows Explorer to show the folders list (Tree View on the left) each time Explorer launches  a new window?

I have this program that launches Windows Explorer to a pre-determined path using the Shell command like this:

Shell "C:\WINDOWS\EXPLORER.EXE C:\MyPrograms\Project1"

The explorer comes up at that path but only showing the files window. I would like it to show both the folders window and the files window

I tried sending it mouse down / mouse up messages to click on the menu item but that didn't work. I know it's getting the messages because I can see it using Spy++.   

Is there some registry setting that will force explorer to show both view areas?


Mincho Georgiev

Hello, Rob!

Shell "C:\WINDOWS\EXPLORER.EXE /e,C:\MyPrograms\Project1" - that will do the job.

As a matter of fact,here's the all of explorer's cmd line options:

http://support.microsoft.com/default.aspx?scid=kb;EN-US;q152457

Robert Collins


Robert Collins

Quote from: shaka_zulu on December 22, 2005, 03:59:37 PM
Hello, Rob!

Shell "C:\WINDOWS\EXPLORER.EXE /e,C:\MyPrograms\Project1" - that will do the job.

As a matter of fact,here's the all of explorer's cmd line options:

http://support.microsoft.com/default.aspx?scid=kb;EN-US;q152457

By the way, how do you know to find stuff like that at that link? I went there (at the home page) but I dont know what to search for or what to click on. Are there other such pages there like for more options for Explorer and IExplorer?

Mincho Georgiev

The operating with so many searching and sorting algorythms for 12 years can teach anybody how the searching engines work :)
At the moment Google is the net's best one.

by example:
explorer:
http://techsupt.winbatch.com/TS/T000001055F7.html
http://support.microsoft.com/default.aspx?kbid=130510
http://lee.org/reading/computers/Configuring%20Windows%20Explorer%20Command%20Line%20Options.htm

IE:
http://support.microsoft.com/kb/q178058/
http://www.ieinfosite.co.uk/tip_view.asp?id=36
http://support.microsoft.com/default.aspx?scid=kb;EN-US;197147

and so many others...
Just do the following and make sure for yourself,Rob:
in Google:
windows explorer command line options
internet explorer command line options
:U