Windows

Windows Explorer Command Line Options

It is possible to customize the way windows explorer (explorer.exe) opens. This can be handy for creating a link to a specific folder or drive and have explorer open is a certain way.

The opens are as follows : Explorer [/n] [/e] [(,)/root,

Where,
/n 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 Opens Windows Explorer in its default view.
/root,
Examples:

Example 1:  Explorer /e,/root,C:\

This opens Explorer with C: expanded.

Example 2:     Explorer /select,C:\TestDir\TestApp.exe

Opens a window view with TestApp selected.

Example 3:  Explorer /root,\\TestSvr\TestShare

Opens a window view of the specified share.

Example 4:  Explorer /root,\\TestSvr\TestShare,select,TestApp.exe

Opens a window view of the specified share with TestApp selected.