This is taken in part from MSDN in Q152457
- /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:
Opens a window view with application selected.
Example 2:
This opens Explorer with C: expanded and application selected.
Example 3:
Opens a window view of the specified share.
Example 4:
Opens a window view of the specified share with application selected.
Would anyone know how to boot explorer.exe as a shell? E. g., these command-line switches are incomplete - somehow winlogon.exe boots explorer.exe as a shell when it's specified in HKLM...\Windows NT\Winlogon\Shell.