InfoWorld
Lead with Knowledge
HOME/ SITEMAP
SUBJECT INDEXES
ABOUT US
WHITE PAPERS

Learn to secure your PCs from new and unknown hacker attacks.

Free IDC White Paper - Discover Secure File Sharing for the Enterpriseattacks.

SEARCH:  
Home  //  Article
Print Article    Email Article
Window Manager
Brian Livingston
Use secret Explorer switches to control your file manager in Windows 9x/2000

I'VE RECEIVED SEVERAL messages from readers lately asking me about Windows Explorer. Almost every Windows user eventually needs to use Explorer to manage files. But Microsoft makes it very hard for people to find out how to configure the thing the way they want it.

A search of the Help system in Windows 98 and 2000 reveals nothing about Explorer's "secret switches." They're clearly explained in the Explorer chapter of Windows 98 Secrets, but we left these details out of Windows 2000 Secrets, because my co-authors and I didn't want to duplicate material in both books.

Now that a whole new generation of users is grappling with Windows 2000, this is a good time to look behind the curtain of our workaday friend, Windows Explorer.

In Windows 2000, Explorer frustrates many people by starting up with its focus on My Documents. Windows 98 Explorer, by contrast, starts up focused on C: drive.

To change these default behaviors of Explorer, you need the secret.

Locate your Windows Explorer shortcut right now. (Look under Start, Programs in Windows 98 or, in Windows 2000, Start, Programs, Accessories.) Right-drag this shortcut from its original location and drop it on the Start button. Finally, click Copy to make a duplicate item right on your Start menu. Apply changes to this duplicate, and you'll still have your original one to go back to, if desired.

Once you have your new Explorer shortcut on your Start menu, right-click it, then click Properties. In Windows 2000, you'll see this command line: %SystemRoot% \explorer.exe. In Windows 98, you'll see something such as the following: c:\windows \explorer.exe /n, /e, c:\.

This latter command line hints at the parameters that Explorer supports. The syntax of these parameters is as follows (I've eliminated the path for brevity's sake): explorer {/n} {,/e} {,/root, x} {{,/select}, y}.

The /n switch opens a new Explorer window, even if an existing window is open. The /e switch specifies a two-pane Explorer view, rather than a single pane. Note that commas are necessary between parameters.

The /root and /select switches make things interesting. You use /select -- followed by file, folder, or computer name y -- to highlight the selected object and put Explorer's focus on its parent. You use /root in the same way, followed by x, to open Explorer with object x fixed at the "top" of the tree view.

You would typically use the /select switch to make Explorer start with a specific folder or drive selected. By contrast, the /root switch, which is used less often, makes Explorer display a window in which the "root" you've specified is as high as you can go.

Here are some examples. The following command line would start Explorer with the Docs folder open and the file Today.doc selected: explorer /n, /e, /select,c:\docs \today.doc.

Perhaps you don't need to select a specific file but only want Explorer to focus on a different drive letter than the default. In that case, you can dispense with the optional /select switch and simply name the drive.

For example, the following command line would cause Explorer to open with its focus on the D: drive, which might be your CD-ROM or other device: explorer /n, /e, d:\.

The following /root command would start Explorer with Server1 at the top of the tree: explorer /n, /e, /root, \\server1.

Try these for yourself. You can easily make several Explorer shortcuts, one for each drive, one for special folders, and so forth.

For more details, go to search.support.microsoft.com/kb/c.asp and search for article ID Q237494.

I think ICANN, I think ICANN

From July 12 through 17 I will be in Yokohama, Japan, to cover the board meeting of the Internet Corporation for Assigned Names and Numbers (ICANN).

The U.S. government has turned over many decisions regarding expansion of the Internet to ICANN. Policies made by this corporation will affect you and every company that uses the Web in the future.

My next few columns will deal with the far-reaching decisions that are being made by ICANN this year. For more information, see www.icann.org/yokohama.

If you are planning to attend the board meeting yourself or have information about ICANN you wish to share, I'd like to hear from you. Please send a message to the address below describing your interest in ICANN. Use "Yokohama" as the subject of your e-mail message.

Get Livingston free by e-mail

You can now receive this column for free every Monday by e-mail. Go to www.iwsubscribe.com/newsletters and click "Window Manager."




RELATED SUBJECTS

Operating Systems

MORE >
SUBSCRIBE TO:    E-mail Newsletters  InfoWorld Mobile InfoWorld Magazine
Home  //  Article Print Article    Email Article
Back to Top
 ADVERTISEMENT
 

SPONSORED LINKS

Introducing Primus Quick Resolve. Click to download a fact sheet.
Download the J.D. Edwards CRM white paper. Visit jdedwards.com/crmpaper
Gateway: Your Reliable IT Provider of Business Technology Solutions
Learn to secure your PCs from new and unknown hacker attacks.
Get FREE Hurwitz Report: Control Your App Dev Costs with TogetherSoft!

SUBSCRIBE
E-mail Newsletters
InfoWorld Mobile
Print Magazine

Web-based training
ABOUT INFOWORLD  |  SITE MAP  |  EMPLOYMENT  |  PRIVACY  |   CONTACT US

Copyright 2001 InfoWorld Media Group, Inc.