Using Explorer switches

Tired of Windows 2000 opening up in My Documents when launching Windows Explorer? Then take control by using the Windows Explorer switches. Here is the basic syntax of the switches:

Explorer [/n][/e][,/root,(object)][[,/select],(sub object)]

  • /n opens a new single-paned window

  • /e opens Explorer in the standard view at the current folder

  • /root opens at the specified root level

  • /select, tells Explorer which folder to open in

  • /select, along with the path and filename tells Explorer which file to open

Here is an example using the switches:

Let's say you wanted to open Explorer at a certain file folder. You would first right click the Windows Explorer shortcut and choose Properties. Then you would click on the Shortcut tab and type the text below into the Target box:

  • %SystemRoot%explorer.exe /select, c:foldername (where foldername is the name of the folder you want Windows Explorer to open into)

Then click on OK.

That's it. You are now in control of the way Windows Explorer opens.

    Requires Free Membership to View

This was first published in July 2001

There are Comments. Add yours.

TIP: Want to include a code block in your comment? Use <pre> or <code> tags around the desired text. Ex: <code>insert code</code>

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy
Sort by: OldestNewest

Forgot Password?

No problem! Submit your e-mail address below. We'll send you an email containing your password.

Your password has been sent to:

Disclaimer: Our Tips Exchange is a forum for you to share technical advice and expertise with your peers and to learn from other enterprise IT professionals. TechTarget provides the infrastructure to facilitate this sharing of information. However, we cannot guarantee the accuracy or validity of the material submitted. You agree that your use of the Ask The Expert services and your reliance on any questions, answers, information or other materials received through this Web site is at your own risk.