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.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s