View Full Version : Opening Windows Explorer

08-11-2004, 04:31 PM
I'm using windows XP an I also very frequently use Windows Explorer. I get really peeved-off whenever I open Explorer and it opens the 'My Documents" folder. I want it to open at the root dir of c:\. I know you could do this in win2k using switches but I have heard that the same switches do not work in XP. Are there other switches to use?..or some other technique?

08-11-2004, 04:39 PM
Google is your friend:

Command Line Switches for Windows Explorer

Right click Windows Explorer/Properties and type this into the Target path:

To have C: open (No folders)
%SystemRoot%\Explorer.exe /root, C:\

To have C: open expanded: %windir%\EXPLORER.EXE /e,c:

To have C: open and My Documents:
%windir%\EXPLORER.EXE /e,c:,%HOMEDRIVE%%HOMEPATH%\My Documents

For it to open to My Documents:
explorer /n,/e,%HOMEDRIVE%%HOMEPATH%\My Documents or
C:\WINDOWS\explorer.exe /n,/e,%HOMEDRIVE%%HOMEPATH%\My Documents

To have My Documents open only (No folders):
Explorer /root, c:\Documents and Settings\%username%\My Documents

If you wish to have Explorer open at My Documents on another drive, you would use:
%SystemRoot%\explorer.exe /e, f:\My Documents

To have another Drive letter assigned to opening: D for example: C:\Windows\Explorer.exe /e, d:\

d:\ can be modified for any folder/sub-folder you like. As in: %SystemRoot%\Explorer.exe /e,d:\My Stuff

The /e switch tells Windows Explorer to open in the two pane explorer mode and the c:\ tells it to open in folder C:\. If you omit the /e switch, Windows Explorer opens in a single pane view.

08-11-2004, 04:56 PM
More information can be found in this thread. (http://pressf1.pcworld.co.nz/thread.jsp?forum=1&thread=46748&message=266576&q=target#266576)