Tech Support > Operating Systems > Windows XP > Windows Explorer viewing the root directory
Windows Explorer viewing the root directory
Posted by Catt on March 26th, 2006


Hi,
Having a problem when I open Windows Explorer. When I open it I would like
C: to be fully open in the left folder window so I can choose the folder I
need and have it open in the right view pane when I double click. All of the
PC's that I have can do this except for one. The target path is the same as
all the other PC's. Can someone tell me why it won't work? Here is the
path....
%SystemRoot%\explorer.exe /n,/e,c:\
Thanks
Catt

Posted by Sharon F on March 27th, 2006


On Sun, 26 Mar 2006 14:52:52 -0800, Catt wrote:

WAG: Folder Options> View - remove check from box next to "use simple
folder view"

--
Sharon F
MS-MVP Windows Shell/User

Posted by David Candy on March 27th, 2006


As usual another wrong string. THERE IS NO /N.

--
--------------------------------------------------------------------------------------------------
Goodbye Web Diary
http://margokingston.typepad.com/har....html#comments
=================================================
"Sharon F" <sharonfDEL@ETEmvps.org> wrote in message news:%233QwbvUUGHA.4740@TK2MSFTNGP14.phx.gbl...

Posted by Catt on March 28th, 2006


Thanks but how did the /N get there?????
does it matter?
Catt

"David Candy" wrote:

Posted by Catt on March 28th, 2006


Thanks but that doesn't work. I removed the check mark from
"display simple folders view in Explorer's folder list" and rebooted the pc.
Still no good. Should I remove that /N that David Candy was upset about?
Catt
"Sharon F" wrote:

Posted by David Candy on March 28th, 2006


It won't make a difference, it is ignored. But you are releying on tips from people that don't understand what they read.


explorer [/n] [/e][,/root,object][[,/select],subobject]

None Explorer rooted at the Desktop
/n Opens a new window. This is valid in only folder view as Explorer view opens a new window always. In folder view it means open a new window EVEN if the folder is already opened in a window. If a folder isn't already opened then it will start a new window.
/e Explorer View (default if nothing else is on the command line.)
/root,object Starts Explorer with object the top item (normally Desktop is the top item). Eg: explorer /e,/root,c:\Starts Explorer with the C drive as the only drive available. This also forces Explorer into a new process.
/select,subobject Selects the specified subobject.

Replaceable parameters are %1 (one) which is the short or long file or folder name (depending on certain things) and %l (L) which is the long file name.

/IDLIST
This is an additional parameter that means a Windows internal structure is being passed. eg:

Explorer.exe /e,/idlist,%IThe %I is a replacable parameter representing an IDLIST.

Rooted Views
To open an explorer item that starts with a special folder as the top folder use the following syntax.

Where the special folder is a sub folder of the desktop

explorer /e,root,::{CLSID of special folder}
Where the special folder is a sub folder of another special folder (usually, if not always My Computer)

explorer /e,root,::{CLSID of parent}/::{CLSID of special folder}
Where the special folder is part of the file system

explorer /e,root,path to folder
See Namespaces on the Icons Page for a list of CLSIDs for special folders.

Examples
Starts explorer with the Windows folder opened and selected.

explorer /e,/select,c:\windowsStarts explorer with Windows the top level folder and command opened and selected.

explorer /e,/root,c:\windows,/select,c:\windows\commandStarts explorer with Windows the top level folder and Tips.txt showing instead of the file listing.

explorer /e,/root,c:\windows,/select,c:\windows\tips.txtStarts explorer with My Computer the top level folder and all branches except for drives collapsed.

explorer /e,/root,::{20d04fe0-3aea-1069-a2d8-08002b30309d}Starts explorer with C:\ the top level folder.

explorer /e,/root,c:\Starts the Dial Up Networking folder in folder view.

explorer.exe ::{20d04fe0-3aea-1069-a2d8-08002b30309d}\::{992cffa0-f557-101a-88ec-00dd010ccc48}
--
--------------------------------------------------------------------------------------------------
How to lose a war in Iraq
http://webdiary.com.au/cms/?q=node/1335#comment-48641
=================================================
"Catt" <Catt@discussions.microsoft.com> wrote in message news:336675AF-183E-4C68-9452-B53014BB8B93@microsoft.com...

Posted by Catt on March 29th, 2006


So if I want to start explorer with all drives expanded what do I change in
this?:
explorer /e,/root,c:\windows,/select,c:\windows\tips.txt
because all I want is for all folders to be visible in the left pane when I
open WE.
Thanks
Catt


Posted by David Candy on March 30th, 2006


How many sub folders do you have.

--
--------------------------------------------------------------------------------------------------
How to lose a war in Iraq
http://webdiary.com.au/cms/?q=node/1335#comment-48641
=================================================
"Catt" <Catt@discussions.microsoft.com> wrote in message news:62DB8F05-607E-499C-8F00-8C78B402533F@microsoft.com...

Posted by David Candy on March 30th, 2006


The correct syntax is
explorer /e,c:\

--
--------------------------------------------------------------------------------------------------
How to lose a war in Iraq
http://webdiary.com.au/cms/?q=node/1335#comment-48641
=================================================
"Catt" <Catt@discussions.microsoft.com> wrote in message news:62DB8F05-607E-499C-8F00-8C78B402533F@microsoft.com...

Posted by Catt on March 30th, 2006


Hi, I have 168 folders under C:
Catt

"David Candy" wrote:

Posted by Catt on March 30th, 2006


I took out the "n" you spoke of and put the target in as such:
%SystemRoot%\explorer.exe /e,c:\
It changed nothing, still no expansion of the c:Is it possible that the
"start" location has something to do with it? %HOMEDRIVE%%HOMEPATH% ?
Catt

"David Candy" wrote:

Posted by David Candy on March 30th, 2006


That's why. Max is about 100 so it responds to the user quickly.


--
--------------------------------------------------------------------------------------------------
How to lose a war in Iraq
http://webdiary.com.au/cms/?q=node/1335#comment-48641
=================================================
"Catt" <Catt@discussions.microsoft.com> wrote in message news:9910D1C3-C9CB-4FA8-B259-B35C3338AFAA@microsoft.com...

Posted by David Candy on March 30th, 2006


%HOMEDRIVE%%HOMEPATH%
You should delete that line or wierd but very minor things can happen when starting programs.


--
--------------------------------------------------------------------------------------------------
How to lose a war in Iraq
http://webdiary.com.au/cms/?q=node/1335#comment-48641
=================================================
"Catt" <Catt@discussions.microsoft.com> wrote in message news:0A5FF7FD-FD60-45BC-9BA6-130235D2B7D6@microsoft.com...

Posted by Catt on March 31st, 2006


OK got that. I deleted that line and left it blank but still no change in the
viewing of the left hand viewing pane. What's wrong with the explorer command
line? Should I give up????
Catt

"David Candy" wrote:

Posted by David Candy on March 31st, 2006


I answered you.


--
--------------------------------------------------------------------------------------------------
How to lose a war in Iraq
http://webdiary.com.au/cms/?q=node/1335#comment-48641
=================================================
"Catt" <Catt@discussions.microsoft.com> wrote in message news45D9525-7208-4B01-A04E-8FC267CC1181@microsoft.com...

Posted by David Candy on March 31st, 2006


ie 100 folders

--
--------------------------------------------------------------------------------------------------
How to lose a war in Iraq
http://webdiary.com.au/cms/?q=node/1335#comment-48641
=================================================
"David Candy" <.> wrote in message news:eh8qNEHVGHA.4384@tk2msftngp13.phx.gbl...
I answered you.


--
--------------------------------------------------------------------------------------------------
How to lose a war in Iraq
http://webdiary.com.au/cms/?q=node/1335#comment-48641
=================================================
"Catt" <Catt@discussions.microsoft.com> wrote in message news45D9525-7208-4B01-A04E-8FC267CC1181@microsoft.com...

Posted by Catt on March 31st, 2006


Sorry, missed the double posting.
Catt

"David Candy" wrote:

Posted by Sharon F on March 31st, 2006


On Tue, 28 Mar 2006 06:11:02 -0800, Catt wrote:

Catt, try it the other way too.

Simple folder view enabled: automatically expands the selected drive.
Closes that folder when another is clicked.

Simple folder view disabled: requires a click to expand a selected object
but also allows you to have multiple branches of the tree expanded at one
time.

This is the shortcut that I use and it works here with simple view enabled:
C:\WINDOWS\explorer.exe /e,c:

Aside: David knows more about Windows and programs than I (have read his
posts for years and still learn from him). Will leave it to him to explain
the info he is conveying to you.

--
Sharon F
MS-MVP ~ Windows Shell/User

Posted by Catt on March 31st, 2006


Hi, Thanks and I tried it both ways, still no go. But according to David I
have more than 100 folders so therefore it shouldn't work anyway. Or should
windows just show 100 folders and some kind of icon to view the rest?
Catt

"Sharon F" wrote:

Posted by David Candy on April 1st, 2006


What is your actual problem with it to you with it not showing. It shows on the rhs, open a folder on the RHS and you can on the left hand side from then on.

--
--------------------------------------------------------------------------------------------------
How to lose a war in Iraq
http://webdiary.com.au/cms/?q=node/1335#comment-48641
=================================================
"Catt" <Catt@discussions.microsoft.com> wrote in message news:60EB07B7-1F19-457D-8DC6-DABDC9240F11@microsoft.com...


Similar Posts