SEARCH
0-9 A B C D E F G H I J K L M N O P Q R S T U V W X Y Z
Prev | Current Page 63 | Next

David A. Karp

"Windows Vista Annoyances: Tips, Secrets, and Hacks"


The full syntax is as follows:
explorer.exe [/n][,/e][,/root,object][[,/select],subobject]
The square brackets ([...]) show the optional nature of each of the parameters.
Note that the syntax here isn??™t like most other programs that take
command-line parameters; for instance, the parameters must be in order
and separated by commas. However, unlike earlier version of Windows,
you don??™t have to include the commas for omitted parameters.
/n This opens a new window even if the folder is already open elsewhere.
/e This shows the folder tree pane in the event you??™ve turned it off.
/root,object
The /root,object parameter lets you choose what appears as the root of
all folders in the new window, which is useful if you want an abbreviated
tree for security reasons. The default, of course, is the desktop. You can
specify an ordinary folder to be the root of the tree (i.e., /root,c:\stuff),
or a system object by specifying its Class ID (see Chapter 3).
/select
If you include the /select switch along with a folder path (subobject,
discussed next), Explorer opens the folder??™s parent and selects it in the
right pane. Only if you omit /select does Explorer actually open the
folder you specify. See the subobject entry, next, for an example of
when this is useful.
34 | Chapter 2: Shell Tweaks
subobject
This is the path to open, shown in the first example. Unless you use the
/select option, Explorer highlights subobject in the tree and shows its
contents in the right pane.


Pages:
51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75
podróż poślubna kursy walut konsolidacja kredytów wróżki telefon android