Re: Display directory tree when Windows Explorer starts up in a specified directory

From: Charles Rogers (spamitup_at_spammer.com)
Date: 12/20/04


Date: Mon, 20 Dec 2004 14:44:54 -0600


"Rock" <rock@mail.nospam.net> wrote in message
news:%23zwVhVs5EHA.3828@TK2MSFTNGP09.phx.gbl...
> Charles Rogers wrote:
>
>> I like for Windows Explorer to start up positioned in my C disk, with the
>> directory tree at the left showing the directories in the C disk. I
>> added the parameter "c:" to the shortcut, and now it starts up in the C
>> disk, but instead of displaying the directory tree at the left, it shows
>> an options panel that doesn't interest me. The Folders button on the
>> toolbar will activate the directory tree, but I'd like for it to start up
>> showing the directory tree.
>>
>> Does explorer.exe have an execution option so that when it starts up in a
>> parameter-specified directory, it also starts up with the directory tree
>> showing?
>>
>> Thanks,
>> Chaz
>
> In the shortcut insert the switch "/e" (not in quotes).
>
----- Original Message -----
From: "Rock" <rock@mail.nospam.net>
Newsgroups: microsoft.public.windowsxp.general
Sent: Monday, December 20, 2004 12:54 PM
Subject: Re: Display directory tree when Windows Explorer starts up in a
specified directory

> Charles Rogers wrote:
>
>> I like for Windows Explorer to start up positioned in my C disk, with the
>> directory tree at the left showing the directories in the C disk. I
>> added the parameter "c:" to the shortcut, and now it starts up in the C
>> disk, but instead of displaying the directory tree at the left, it shows
>> an options panel that doesn't interest me. The Folders button on the
>> toolbar will activate the directory tree, but I'd like for it to start up
>> showing the directory tree.
>>
>> Does explorer.exe have an execution option so that when it starts up in a
>> parameter-specified directory, it also starts up with the directory tree
>> showing?
>>
>> Thanks,
>> Chaz
>
> In the shortcut insert the switch "/e" (not in quotes).
>

Depending on whether I place /e before or after the path, I get the message:

The path '/e c:' does not exist or is not a directory.
The path 'c: /e' does not exist or is not a directory.

It appears that explorer.exe does not look for option switches, or even try
to break the parameter list into separate words.

So how did you decide on /e instead of some other letter?