Command-Line Switches for Windows Explorer
HOW TO: Customize the Windows Explorer Views in Windows XP http://support.microsoft.com/default...307856&sd=tech
The following examples describe the use of Windows Explorer switches.
This command opens an Explorer window using the default setting. This is usually the root of the drive on which Windows is installed.
This command starts Windows Explorer using the default view.
This command starts Windows Explorer using the default view, with the focus on C:\Windows.
Explorer /root, C:\Windows\Cursors
This command starts Windows Explorer at the C:\Windows\Cursors folder. This example uses C:\Windows\Cursors as the "root" directory for Windows Explorer.
NOTE: Note the comma after the "/root" switch in the command.
Explorer /select, C:\Windows\Cursors\banana.ani
This command starts Windows Explorer with the "C:\Windows\Cursors\banana.ani" file selected.
NOTE: Note the comma after the "/select" switch in the command.
The Windows Explorer switches can be combined in a single command. The following example shows the combination of the Windows Explorer command-line switches.
Explorer /root, \\server\share, select, Program.exe
This command starts Windows Explorer using the remote share as its "root" folder, along with the Program.exe file selected.