Help and Support

Command-Line Switches for Windows Explorer

Article ID:130510
Last Review:January 19, 2007
Revision:1.4
This article was previously published under Q130510
On This Page

SUMMARY

This article lists command-line switches you can use when you start Windows Explorer (EXPLORER.EXE).

Back to the top

MORE INFORMATION

Syntax

EXPLORER.EXE [/n][/e][,/root,<object>][[,/select],<sub object>]

Back to the top

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.
				

Back to the top

Examples

To open a Windows Explorer view to explore only objects on \\<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

Back to the top


APPLIES TO
Microsoft Windows 95
Microsoft Windows NT Server 4.0 Standard Edition
Microsoft Windows NT Workstation 4.0 Developer Edition
Microsoft Windows 98 Standard Edition
Microsoft Windows 98 Second Edition
Microsoft Windows Millennium Edition

Back to the top

Keywords: 
KB130510

Back to the top

Article Translations

 

Other Support Options

  • Need More Help?
    Contact a Support professional by Email, Online or Phone.
  • Customer Service
    For non-technical assistance with product purchases, subscriptions, online services, events, training courses, corporate sales, piracy issues, and more.
  • Newsgroups
    Pose a question to other users. Discussion groups and Forums about specific Microsoft products, technologies, and services.