Windows Explorer switches are useful in creating rooted folders.
Explorer [/e,] [/n,] [/root,<object>,]
[[<folder>] | [/select, <sub
object>]]
/e
Use Explorer view (scope and results pane view).
The default is open view (results in pane view only).
/n
unknown
/root<object>
Specify the object in the "normal" name space that is used as the root (top level) for Windows Explorer. The default is the Desktop folder.
<folder>
Opens the specified folder.
/select
The parent folder opens and the specified object is selected.
<sub object>
The folder or file that Windows Explorer opens. If the /select switch is used, the sub object is highlighted. If the
/select switch is not used, the folder or file opens in Explorer. The default is the root<object>.
Examples
Explorer /e, /root, \\Reports
Opens an Explorer window at \\Reports.
Explorer /select, C:\Windows\Calc.exe
Opens a folder at C:\Windows (or activates one that is currently open), and selects Calc.exe.
Explorer /e, /root, \Source\Internal\Design\Users\David\Archive
Opens a folder to the Archive folder. This is a good way to create a dedicated, remote, documents archive folder. A link to the \\Source\Internal\Design\Users\David\Archive folders can then be placed in the
SendTo folder for quick routing of documents.
|