Things to do with Explorer.exe


This is a list of commands that you can use to get explorer to open in different places on your system.

Open ‘Documents’ when you open Windows Explorer
%SystemRoot%\explorer.exe /n,::{450D8FBA-AD25-11D0-98A8-0800361B1103}

Open ‘My Computer’ when you open Windows Explorer
%SystemRoot%\explorer.exe /e,::{20D04FE0-3AEA-1069-A2D8-08002B30309D}

Other commands:
Source: http://support.microsoft.com/kb/130510
EXPLORER.EXE [/n][/e][,/root,<object>][[,/select],<sub object>]

Switches
/n:  Opens a new window in single-paned (My Computer) view for each item selected, even if the new window duplicates a window that is already open.

/e:  Uses Windows Explorer view. Windows Explorer view is most similar to File Manager in Windows version 3.x. Note that the default view is Open view.

/root,<object>:  Specifies the root level of the specified view. The default is to use the normal namespace root (the desktop). Whatever is specified is the root for the display.

/select,<sub object>:  Specifies the folder to receive the initial focus. If “/select” is used, the parent folder is opened and the specified object is selected.

Examples
To open a Windows Explorer view to explore only objects on <a href=”file://\\\\<server name>, use the following syntax:
      explorer /e,/root,\\<server name>
To view the C:\WINDOWS folder and select CALC.EXE, use the following syntax:
      explorer /select,c:\windows\calc.exe

No comments yet... Be the first to leave a reply!

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 )

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

%d bloggers like this: