Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

explorer command line arguments

17 views
Skip to first unread message

t

unread,
Feb 25, 2004, 8:32:13 PM2/25/04
to
Where can I find a list of command line arguments for
Windows Explorer (not the browser)... for example... a
shortcut with the following arguments will open explorer
to the C:\ folder instead of the default My Documents...

C:\WINDOWS\EXPLORER.EXE /n,/e,C:\

Thanks... t

grahamilton

unread,
Feb 25, 2004, 8:55:11 PM2/25/04
to
Try this, no need to type out the whole path for your 'My Documents' folder

EXPLORER.EXE /n,/e,My Documents

and have a gander at this:

HOW TO: Customize the Windows Explorer Views in Windows XP
http://support.microsoft.com/default.aspx?scid=kb;en-us;307856


"t" <anon...@discussions.microsoft.com> wrote in message
news:1b4601c3fc08$5c4a0a80$a001...@phx.gbl...

Ramesh [MVP]

unread,
Feb 25, 2004, 9:17:36 PM2/25/04
to
http://www.mvps.org/sramesh2k/ExplorerParams.htm

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

Customize the Windows Explorer Views in Windows XP

http://support.microsoft.com/default.aspx?scid=314853

Have Windows Explorer Default to the %SystemRoot% Drive When Started:
http://support.microsoft.com/?kbid=257518

--
Ramesh - Microsoft MVP
http://www.mvps.org/sramesh2k
----------------------------------------
Free Online Virus Scanners and Security Tests:
http://www.mvps.org/sramesh2k/Scanners.htm
----------------------------------------


"t" <anon...@discussions.microsoft.com> wrote in message news:1b4601c3fc08$5c4a0a80$a001...@phx.gbl...

Kelly

unread,
Feb 25, 2004, 10:51:18 PM2/25/04
to
To have C: open (No folders)
%SystemRoot%\Explorer.exe /root, C:\

To have My Computer
C:\WINDOWS\explorer.exe /n

To have C: open expanded - Examples
%windir%\EXPLORER.EXE /e,c:
%windir%\EXPLORER.EXE /e,f:\Limited Documents

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
Explorer /root, c:,%HOMEDRIVE%%HOMEPATH%\Kelly's Computer

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.

Command-Line Switches for Windows Explorer
http://support.microsoft.com/support/kb/articles/Q130/5/10.asp

Command Line Switches Examples for Windows Explorer
http://www.kellys-korner-xp.com/xp_c.htm#comline


--
All the Best,
Kelly

Microsoft-MVP Windows® XP

In memory of Robert McGregor (aka Koldbear)
http://www.btinternet.com/~winnoel/winhelp.htm

Troubleshooting Windows XP
http://www.kellys-korner-xp.com


"t" <anon...@discussions.microsoft.com> wrote in message
news:1b4601c3fc08$5c4a0a80$a001...@phx.gbl...

0 new messages