Windows Vista Forums
Vista Forums Home Join Vista Forums Windows 7 Forum Vista Tutorials Tags
Welcome to Windows Vista Forums. Our forum is dedicated to helping you find solutions with any problems, errors or issues you are experiencing with Windows Vista. The Vista forum also covers news and updates and has an extensive Windows Vista tutorial section that covers a wide range of tips and tricks.

Go Back   Vista Forums > Vista Newsgroups > Vista General

Vista - Explorer.exe /Root Issue

Reply
 
Old 08-17-2007   #1 (permalink)
esiemiat


 
 

Explorer.exe /Root Issue

I like to use the following EXPLORER.EXE command line to basically Explore
From Here on some folders:

%SystemRoot%\explorer.exe /e,/root,"<SOME_FOLDER>"

In Vista this command does not work for all folders. More specifically any
folder on my desktop, like "C:\Users\esiemiat\Desktop\Test". When I try to
run this command from anywhere, including a CMD prompt, I recieve the
following error message:

"This file does not have a program associated with it for performing this
action. Create an association in the Set Associations Control Panel."

Why can I not Explore From Here on desktop sub folder? This used to work in
XP. If I remove the /ROOT switch, leaving just /E, everything works fine. Is
this a problem with EXPLORER.EXE when used with /ROOT?


My System SpecsSystem Spec
Old 08-17-2007   #2 (permalink)
Steve Easton


 
 

Re: Explorer.exe /Root Issue

Because %SystemRoot% is the windows directory.
Why are you staring from there?


--

Steve Easton



"esiemiat" <esiemiat@discussions.microsoft.com> wrote in message
news:FD94DFAC-E5AB-4166-8759-894DA588BE2C@microsoft.com...
>I like to use the following EXPLORER.EXE command line to basically Explore
> From Here on some folders:
>
> %SystemRoot%\explorer.exe /e,/root,"<SOME_FOLDER>"
>
> In Vista this command does not work for all folders. More specifically any
> folder on my desktop, like "C:\Users\esiemiat\Desktop\Test". When I try to
> run this command from anywhere, including a CMD prompt, I recieve the
> following error message:
>
> "This file does not have a program associated with it for performing this
> action. Create an association in the Set Associations Control Panel."
>
> Why can I not Explore From Here on desktop sub folder? This used to work in
> XP. If I remove the /ROOT switch, leaving just /E, everything works fine. Is
> this a problem with EXPLORER.EXE when used with /ROOT?
>



My System SpecsSystem Spec
Old 08-24-2007   #3 (permalink)
esiemiat


 
 

Re: Explorer.exe /Root Issue

The %SystemRoot% folder is part of the path to EXPLORER.EXE not to specify
which folder is behind expanded. The <SOME_FOLDER> indicator marks where I
place the path to the folder I wish to expand.

"Steve Easton" wrote:

> Because %SystemRoot% is the windows directory.
> Why are you staring from there?
>
>
> --
>
> Steve Easton
>
>
>
> "esiemiat" <esiemiat@discussions.microsoft.com> wrote in message
> news:FD94DFAC-E5AB-4166-8759-894DA588BE2C@microsoft.com...
> >I like to use the following EXPLORER.EXE command line to basically Explore
> > From Here on some folders:
> >
> > %SystemRoot%\explorer.exe /e,/root,"<SOME_FOLDER>"
> >
> > In Vista this command does not work for all folders. More specifically any
> > folder on my desktop, like "C:\Users\esiemiat\Desktop\Test". When I try to
> > run this command from anywhere, including a CMD prompt, I recieve the
> > following error message:
> >
> > "This file does not have a program associated with it for performing this
> > action. Create an association in the Set Associations Control Panel."
> >
> > Why can I not Explore From Here on desktop sub folder? This used to work in
> > XP. If I remove the /ROOT switch, leaving just /E, everything works fine. Is
> > this a problem with EXPLORER.EXE when used with /ROOT?
> >

>
>
>

My System SpecsSystem Spec
Old 08-24-2007   #4 (permalink)
Ronnie Vernon MVP


 
 

Re: Explorer.exe /Root Issue

Esiemiat

The /Root is the problem and I'm not sure why you would even use that in the
path to the folder?

--

Ronnie Vernon
Microsoft MVP
Windows Shell/User


"esiemiat" <esiemiat@discussions.microsoft.com> wrote in message
news:E283DF14-32CF-407D-8F5F-EF2EFB0859FE@microsoft.com...
> The %SystemRoot% folder is part of the path to EXPLORER.EXE not to specify
> which folder is behind expanded. The <SOME_FOLDER> indicator marks where I
> place the path to the folder I wish to expand.
>
> "Steve Easton" wrote:
>
>> Because %SystemRoot% is the windows directory.
>> Why are you staring from there?
>>
>>
>> --
>>
>> Steve Easton
>>
>>
>>
>> "esiemiat" <esiemiat@discussions.microsoft.com> wrote in message
>> news:FD94DFAC-E5AB-4166-8759-894DA588BE2C@microsoft.com...
>> >I like to use the following EXPLORER.EXE command line to basically
>> >Explore
>> > From Here on some folders:
>> >
>> > %SystemRoot%\explorer.exe /e,/root,"<SOME_FOLDER>"
>> >
>> > In Vista this command does not work for all folders. More specifically
>> > any
>> > folder on my desktop, like "C:\Users\esiemiat\Desktop\Test". When I try
>> > to
>> > run this command from anywhere, including a CMD prompt, I recieve the
>> > following error message:
>> >
>> > "This file does not have a program associated with it for performing
>> > this
>> > action. Create an association in the Set Associations Control Panel."
>> >
>> > Why can I not Explore From Here on desktop sub folder? This used to
>> > work in
>> > XP. If I remove the /ROOT switch, leaving just /E, everything works
>> > fine. Is
>> > this a problem with EXPLORER.EXE when used with /ROOT?
>> >

>>
>>
>>


My System SpecsSystem Spec
Old 08-27-2007   #5 (permalink)
esiemiat


 
 

Re: Explorer.exe /Root Issue

You are correct, as stated earlier removing the /ROOT switch fixes the
problem. However, this switch works for all other folders on the system and
is the "EXPLORE FROM HERE" functionality that worked in previous versions of
Windows for ALL folders. I am just curious why this functionality is broken,
and throws an error, for folders unders the USER folder, while it still works
for all other folders on the system.

"Ronnie Vernon MVP" wrote:
Quote:

> Esiemiat
>
> The /Root is the problem and I'm not sure why you would even use that in the
> path to the folder?
>
> --
>
> Ronnie Vernon
> Microsoft MVP
> Windows Shell/User
>
>
> "esiemiat" <esiemiat@xxxxxx> wrote in message
> news:E283DF14-32CF-407D-8F5F-EF2EFB0859FE@xxxxxx
Quote:

> > The %SystemRoot% folder is part of the path to EXPLORER.EXE not to specify
> > which folder is behind expanded. The <SOME_FOLDER> indicator marks where I
> > place the path to the folder I wish to expand.
> >
> > "Steve Easton" wrote:
> >
Quote:

> >> Because %SystemRoot% is the windows directory.
> >> Why are you staring from there?
> >>
> >>
> >> --
> >>
> >> Steve Easton
> >>
> >>
> >>
> >> "esiemiat" <esiemiat@xxxxxx> wrote in message
> >> news:FD94DFAC-E5AB-4166-8759-894DA588BE2C@xxxxxx
> >> >I like to use the following EXPLORER.EXE command line to basically
> >> >Explore
> >> > From Here on some folders:
> >> >
> >> > %SystemRoot%\explorer.exe /e,/root,"<SOME_FOLDER>"
> >> >
> >> > In Vista this command does not work for all folders. More specifically
> >> > any
> >> > folder on my desktop, like "C:\Users\esiemiat\Desktop\Test". When I try
> >> > to
> >> > run this command from anywhere, including a CMD prompt, I recieve the
> >> > following error message:
> >> >
> >> > "This file does not have a program associated with it for performing
> >> > this
> >> > action. Create an association in the Set Associations Control Panel."
> >> >
> >> > Why can I not Explore From Here on desktop sub folder? This used to
> >> > work in
> >> > XP. If I remove the /ROOT switch, leaving just /E, everything works
> >> > fine. Is
> >> > this a problem with EXPLORER.EXE when used with /ROOT?
> >> >
> >>
> >>
> >>
>
My System SpecsSystem Spec
Old 08-27-2007   #6 (permalink)
Ronnie Vernon MVP


 
 

Re: Explorer.exe /Root Issue

Esiemiat

I can confirm what you are seeing with that /Root switch and the user
folders.

The only thing I can think of is that it must have something to do with the
changes that were made in Explorer.exe. Unless this was an intentional
change, it could be a bug.

--

Ronnie Vernon
Microsoft MVP
Windows Shell/User


"esiemiat" <esiemiat@xxxxxx> wrote in message
news7E7CD47-E26A-4492-A18B-93BA9D8E1C14@xxxxxx
Quote:

> You are correct, as stated earlier removing the /ROOT switch fixes the
> problem. However, this switch works for all other folders on the system
> and
> is the "EXPLORE FROM HERE" functionality that worked in previous versions
> of
> Windows for ALL folders. I am just curious why this functionality is
> broken,
> and throws an error, for folders unders the USER folder, while it still
> works
> for all other folders on the system.
>
> "Ronnie Vernon MVP" wrote:
>
Quote:

>> Esiemiat
>>
>> The /Root is the problem and I'm not sure why you would even use that in
>> the
>> path to the folder?
>>
>> --
>>
>> Ronnie Vernon
>> Microsoft MVP
>> Windows Shell/User
>>
>>
>> "esiemiat" <esiemiat@xxxxxx> wrote in message
>> news:E283DF14-32CF-407D-8F5F-EF2EFB0859FE@xxxxxx
Quote:

>> > The %SystemRoot% folder is part of the path to EXPLORER.EXE not to
>> > specify
>> > which folder is behind expanded. The <SOME_FOLDER> indicator marks
>> > where I
>> > place the path to the folder I wish to expand.
>> >
>> > "Steve Easton" wrote:
>> >
>> >> Because %SystemRoot% is the windows directory.
>> >> Why are you staring from there?
>> >>
>> >>
>> >> --
>> >>
>> >> Steve Easton
>> >>
>> >>
>> >>
>> >> "esiemiat" <esiemiat@xxxxxx> wrote in message
>> >> news:FD94DFAC-E5AB-4166-8759-894DA588BE2C@xxxxxx
>> >> >I like to use the following EXPLORER.EXE command line to basically
>> >> >Explore
>> >> > From Here on some folders:
>> >> >
>> >> > %SystemRoot%\explorer.exe /e,/root,"<SOME_FOLDER>"
>> >> >
>> >> > In Vista this command does not work for all folders. More
>> >> > specifically
>> >> > any
>> >> > folder on my desktop, like "C:\Users\esiemiat\Desktop\Test". When I
>> >> > try
>> >> > to
>> >> > run this command from anywhere, including a CMD prompt, I recieve
>> >> > the
>> >> > following error message:
>> >> >
>> >> > "This file does not have a program associated with it for performing
>> >> > this
>> >> > action. Create an association in the Set Associations Control
>> >> > Panel."
>> >> >
>> >> > Why can I not Explore From Here on desktop sub folder? This used to
>> >> > work in
>> >> > XP. If I remove the /ROOT switch, leaving just /E, everything works
>> >> > fine. Is
>> >> > this a problem with EXPLORER.EXE when used with /ROOT?
>> >> >
>> >>
>> >>
>> >>
>>
My System SpecsSystem Spec
Old 07-14-2008   #7 (permalink)


Ultimate 32bit
 
 

Re: Explorer.exe /Root Issue

Try the following (tested under Vista Ultimate 32bit, no SP)

[HKEY_CLASSES_ROOT\Folder\shell\Explore from here]
@=""
[HKEY_CLASSES_ROOT\Folder\shell\Explore from here\command]
@="Explorer.exe /e,/root,/idlist,%i"

but I recommend to use because it does not display the context on folders where the command will fail (e.g. Desktop > My Computer)

[HKEY_CLASSES_ROOT\Directory\shell\Explore.From.Here]
@="Explorer from here"
[HKEY_CLASSES_ROOT\Directory\shell\Explore.From.Here\command]
@="Explorer.exe /e,/root,/idlist,%i"
My System SpecsSystem Spec
Reply

Thread Tools


Similar Threads
Thread Forum
Can't get rooted explorer to open with the root. Vista General
explorer.exe /root,%userprofile% doesn't work Vista General
explorer /root,%userprofile% Vista General
Bug in explorer with /root Vista General
Explorer.exe pegging CPU when explorer is on root directory of dri Vista General


Vista Forums is an independent web site and has not been authorized,
sponsored, or otherwise approved by Microsoft Corporation.
"Windows Vista", the Start Orb, and related materials are trademarks of Microsoft Corp.
© Designer Media Ltd

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46