Microsoft KB Archive/130510: Difference between revisions

From BetaArchive Wiki
m (1 revision imported: importing part 2)
m (Text replacement - "<" to "<")
Line 33: Line 33:
=== Syntax ===
=== Syntax ===


EXPLORER.EXE [/n][/e][,/root,&lt;object&gt;][[,/select],&lt;sub object&gt;]
EXPLORER.EXE [/n][/e][,/root,<object&gt;][[,/select],<sub object&gt;]


=== Switches ===
=== Switches ===
Line 45: Line 45:
     is Open view.
     is Open view.


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


/select,&lt;sub object&gt;:  Specifies the folder to receive the initial
/select,<sub object&gt;:  Specifies the folder to receive the initial
                       focus. If &quot;/select&quot; is used, the parent folder
                       focus. If &quot;/select&quot; is used, the parent folder
                       is opened and the specified object is selected. </pre>
                       is opened and the specified object is selected. </pre>
Line 56: Line 56:


<ul>
<ul>
<li><p>To open a Windows Explorer view to explore only objects on \\&lt;server name&gt;, use the following syntax:</p>
<li><p>To open a Windows Explorer view to explore only objects on \\<server name&gt;, use the following syntax:</p>
<blockquote>explorer /e,/root,\\&lt;server name&gt;</blockquote></li>
<blockquote>explorer /e,/root,\\<server name&gt;</blockquote></li>
<li><p>To view the C:\WINDOWS folder and select CALC.EXE, use the following syntax:</p>
<li><p>To view the C:\WINDOWS folder and select CALC.EXE, use the following syntax:</p>
<blockquote>explorer /select,c:\windows\calc.exe</blockquote></li></ul>
<blockquote>explorer /select,c:\windows\calc.exe</blockquote></li></ul>

Revision as of 15:27, 20 July 2020

Command-Line Switches for Windows Explorer

Q130510



The information in this article applies to:


  • Microsoft Windows 95
  • Microsoft Windows NT Server version 4.0
  • Microsoft Windows NT Workstation version 4.0





SUMMARY

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



MORE INFORMATION

Syntax

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 \\<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

Additional query words: 4.0 parameters

Keywords : win95
Issue type :
Technology : kbWinNTsearch kbWinNTWsearch kbWinNTW400 kbWinNTW400search kbWinNT400xsearch kbWinNTSsearch kbWinNTS400xsearch kbWinNTS400 kbWin95search kbWin95


Last Reviewed: December 16, 2000
© 2001 Microsoft Corporation. All rights reserved. Terms of Use.