Windows Explorer command-line options

  • Thread starter Thread starter Guest
  • Start date Start date
WillyK said:
How can I create a shortcut to Windows Explorer that only expands "My
Computer".

Right click the shortcut to Windows Explorer and type the following in the
Target line.

%SystemRoot%\explorer.exe /e,

(Include the space between / and e)
 
Thanks, Ron, but this still expands the C drive.

Ronnie Vernon MVP said:
Right click the shortcut to Windows Explorer and type the following in the
Target line.

%SystemRoot%\explorer.exe /e,

(Include the space between / and e)
--

Ronnie Vernon
Microsoft MVP
Windows Shell/User
 
WOW!!! You are The Bomb!! I bow before you. What a string, but it works!

Thanks a million.

WillyK
 
Hi Willy

Check Google for <"My Computer" CLSID>. That will give information about
the apparantly unwieldy list of characters!
 
I know this is an old post, but thank you so very much. I am so happy....
Now if I could just make "My Documents" go away entirely I would be
estatic!!!!!!
 
This is good advice... But I want to open Explorer with "Folders" displayed
as well as starting it in the directory I select. Starting in a selected
directory is workin gas I want it to - now I want to have it open with all
the Folder names showing in the left panel.
 
How can I create a shortcut to Windows Explorer that only expands "My
Computer".

%SystemRoot%\explorer /e,::{20D04FE0-3AEA-1069-A2D8-08002B30309D}
or
explorer /e,::{20D04FE0-3AEA-1069-A2D8-08002B30309D}
or
%windir%\explorer /e,::{20D04FE0-3AEA-1069-A2D8-08002B30309D}

The /e switch should show the Folders pane.

Opens to C:\Windows\Cursors with the Folders Pane showing...

Explorer /e,C:\Windows\Cursors

Replace C:\Windows\Cursors with the path to whatever folder.

Opens C: with the Folders Pane showing...

EXPLORER /e,c:
or
%SystemRoot%\EXPLORER /e,c:
or
%windir%\EXPLORER /e,c:

Explorer.exe Command-Line Options for Windows XP
http://support.microsoft.com/default.aspx?scid=kb;en-us;314853

HOW TO: Customize the Windows Explorer Views in Windows XP
http://support.microsoft.com/?kbid=307856

HOW TO: Have Windows Explorer Default to the %SystemRoot% Drive When Started
http://support.microsoft.com/default.aspx?scid=257518

HOW TO: Change Windows Explorer Default View to My Computer
http://support.microsoft.com/default.aspx?scid=kb;en-us;221878

--
Hope this helps. Let us know.

Wes
MS-MVP Windows Shell/User

In
 
This is good advice... But I want to open Explorer with "Folders" displayed
as well as starting it in the directory I select. Starting in a selected
directory is workin gas I want it to - now I want to have it open with all
the Folder names showing in the left panel.

In the left panel? Don't know if you can do that. A quick poke at the right
arrow key will expand the selected folder though.

Also...

In XP, you can have simple folder view (the default): clicking a folder in
the left pane expands to expose subfolders. Click a different folder - old
selection collapses, new one expands.

OR

Turn off simple view using Folder Options> View. With this setting, a
selection expands when you click on the "+" and it stays expanded until you
click it closed.
 
Back
Top