Академический Документы
Профессиональный Документы
Культура Документы
CONTROL
YOUR EXPLORER
Many users of Windows 95, 98 or even NT 4.0 often wish that they could have greater control over
Windows Explorer—not realising that they can, and easily to boot. In this guide we show you how,
by means of simple switches, you can launch multiple explorers, specify the drive or folder to be
explored, specify the route of explorer—or all of these things simultaneously.
hether you’re running Microsoft or even in a batch file. This article will ex- In this open view, each file or folder is rep-
FIGURE 2: The open view shows files and folders as large icons in a single FIGURE 3: The explore view shows the folder tree on the left, file and folder
pane display. details on the right.
The /root,object switch is powerful but drive D: and from which the user cannot or into one of its subfolders.
used less often. The root folder is the one navigate anywhere other than drive D:. To change a desktop shortcut’s com-
at the top of Explorer’s folder tree—the one To create a new shortcut using a particu- mand line, right click the shortcut and
that has no parent (Desktop, by default). By lar command line, right click the desktop choose Properties. The Target field on the
using the /root switch, you can specify any and choose New | Shortcut from the pop- Shortcut tab of the resulting dialog is the
drive or folder as the root for Explorer’s dis- up menu. Enter the full command line in the command line you want (Figure 4). Enter
play. For example, you could create an Ex- Create Shortcut dialog. If you have just tried your new command line. If the shortcut
plorer window that displays only drive C:, the shortcut at an MS-DOSprompt, you can you want to change is in the Start menu,
with no direct access to virtual folders like copy it from the prompt and paste it into the right click on the Start button and choose
Printers and Control Panel. dialog. Click Next and give the shortcut a Explore from the pop-up menu. Now nav-
name such as Explorer rooted on D. Now igate to the menu folder that holds the
PUTTING THE SWITCHES TO WORK click Finish; you’ll find the new shortcut on shortcut you want and modify it as de-
Here’s a quick trick to get you started. Open your desktop. To move it to your Start menu, scribed here.
an MS-DOS prompt, navigate to any folder simply drag it onto the Start button. This puts
that interests you and enter the command the menu item in the main body of the Start WHEN THEY DON’T WORK
explorer /e,. (That’s explorer, space, slash, menu, above the Programs menu. To move In some configurations, the /select,sub-
e, comma, period.) The single period rep- the item into the Programs menu, right click object switch seems to fail. The subob-
resents the current folder, so you get a two the Start button and choose Explore. Win- ject’s parent folder is opened in the left
pane Explorer window showing that fold- dows Explorer will display the shortcuts pane and highlighted in the folder tree, but
er. The command prompt is the best place and folders that define the Start menu; just nothing is visibly highlighted in the list of
to experiment with Explorer’s command drag the shortcut into the Programs folder files and folders. If you press Tab to move
line switches. When you work out a com- the focus to the detail list, however, you’ll
bination you like, you can create a shortcut see that the subobject is indeed selected.
using that exact command, or you can insert Microsoft’s Knowledge Base notes sev-
it into an existing shortcut. Here are sever- eral occasions where switches truly don’t
al switch combinations to try: work. According to article Q208114, “Win-
Explorer /e,/select,c:\ dows Explorer /N Switch Does Not Open
This opens a two pane Explorer view with a New Window” (http://support.microsoft.
none of the drives expanded. This is handy com/support/kb/articles/Q208/1/14.asp),
if you have multiple drives and use them all the command Explorer /n fails to disable
frequently. window recycling under Windows 98 and
Explorer /e,d:\ Windows 98 SE. Microsoft recommends
This opens a two pane Explorer window that using the /e swi tch inst ead . Art ic le
initially displays the contents of drive D:. Q237494, “The Explorer Command Does
Explorer /e,/root,d:\data Not Select the Correct File” (http://sup-
This switch combination opens a two pane port.microsoft.com/support/kb/articles/
window that initially displays the contents Q237/4/94.asp), states that under Win-
of the data folder on drive D: and from dows 98 SE, the /select switch without /n
which the user cannot navigate anywhere or /e may not select the correct file if the
other than in or below that folder. folder that contains it is already open. No
Explorer /e,/root,d:\,d:\data work-around is offered. These glitches are
FIGURE 4: The Target field holds the command line
This opens a two pane window that initial- executed by a shortcut.
minor, though, and don’t affect all sys-
ly displays the contents of the data folder on tems.