Explorer.exe Command-Line Options for Windows XP

Article translations Article translations
Article ID: 314853 - View products that this article applies to.
This article was previously published under Q314853
Expand all | Collapse all

SUMMARY

This article lists the command-line options that you can use with Windows Explorer (Explorer.exe).

MORE INFORMATION

The options that you can use with Explorer.exe are /n, /e, /root (plus an object), and /select (plus an object).
   Option            Function
   ----------------------------------------------------------------------   
   /n                Opens a new single-pane window for the default
                     selection. This is usually the root of the drive that
                     Windows is installed on. If the window is already
                     open, a duplicate opens.

   /e                Opens Windows Explorer in its default view.

   /root,<object>    Opens a window view of the specified object.

   /select,<object>  Opens a window view with the specified folder, file,
                     or program selected.

   Examples
   -----------------------------------------------------------------------
   Example 1: Explorer /select,C:\TestDir\TestProg.exe
              Opens a window view with TestProg selected.

   Example 2: Explorer /e,/root,C:\TestDir\TestProg.exe
              Opens Explorer with drive C expanded and TestProg selected.

   Example 3: Explorer /root,\\TestSvr\TestShare
              Opens a window view of the specified share.

   Example 4: Explorer /root,\\TestSvr\TestShare,select,TestProg.exe
              Opens a window view of the specified share with TestProg selected.
				

Properties

Article ID: 314853 - Last Review: December 1, 2007 - Revision: 1.6
APPLIES TO
  • Microsoft Windows XP Home Edition
  • Microsoft Windows XP Professional
  • Microsoft Windows XP Professional x64 Edition
Keywords: 
kbenv kbinfo KB314853

Give Feedback

 

Contact us for more help

Contact us for more help
Connect with Answer Desk for expert help.
Get more support from smallbusiness.support.microsoft.com