Examples:
The following examples describe the use of Windows Explorer switches.
• | Explorer /n This command opens an Explorer window using the default setting. This is usually the root of the drive on which Windows is installed. |
• | Explorer /e This command starts Windows Explorer using the default view. |
• | Explorer /e,C:\Windows 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. |
• | 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. |