You are currently offline, waiting for your internet to reconnect

Explorer.exe Command-Line Options for Windows XP

Support for Windows XP has ended

Microsoft ended support for Windows XP on April 8, 2014. This change has affected your software updates and security options. Learn what this means for you and how to stay protected.

This article was previously published under Q314853
This article has been archived. It is offered "as is" and will no longer be updated.
This article lists the command-line options that you can use withWindows Explorer (Explorer.exe).
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.				

Article ID: 314853 - Last Review: 12/07/2015 08:25:32 - Revision: 1.6

Microsoft Windows XP Home Edition, Microsoft Windows XP Professional, Microsoft Windows XP Professional x64 Edition

  • kbnosurvey kbarchive kbenv kbinfo KB314853