Home > Dashboard > GeoShell R4 > ... > Windows Settings > Explorer.exe Command Line Switches
GeoShell R4 Log In | Sign Up   View a printable version of the current page.
Explorer.exe Command Line Switches
Added by geKow, last edited by jhonen jones on Aug 08, 2005
Labels: 
(None)

This is taken in part from MSDN in Q152457

Explorer [/n(,)] [/e(,)] [/root,<object>] [/select,<object>] 
  • /n
    Always opens a new single-pane window for the default selection. This is usually the root of the drive Windows is installed on. If the window is already open, a duplicate opens.
  • /e
    Uses "Explorer" (instead of "Open") with the treeview.
  • /root,<object>
    Sets the "object" (a path, CLSID, or IDLIST item) as the root (ie: you can't navigate above that)
  • /select,<object>
    Starts with this "object" (generally, a folder or file) selected.
  • /IDLIST
    lets explorer use folder's Unique ID's (these are temporary, and seem to have the main purpose of differentiating similar paths ??)

Note that if you use /n or /e you MUST use a comma between them and the <object> (regardless of whether you use /root or /select)

Examples:

Explorer /select,C:\test\application.exe 
Opens a window view with application selected.

Example 2:

Explorer /e,/root,C:\test\application.exe 
This opens Explorer with C: expanded and application selected.

Example 3:

Explorer /root,\\server\sharename 
Opens a window view of the specified share.

Example 4:

Explorer /root,\\\server\sharename,/select,application.exe 
Opens a window view of the specified share with application selected.

Site powered by a free Open Source Project / Non-profit License (more) of Confluence - the Enterprise wiki.
Learn more or evaluate Confluence for your organisation.
Powered by Atlassian Confluence, the Enterprise Wiki. (Version: 2.3 Build:#641 Jan 13, 2007) - Bug/feature request - Contact Administrators