Windows Vista Tips

Windows Vista Tips > Newsgroups > Windows Vista General Discussion > Explorer.exe /Root Issue

Reply
Thread Tools Display Modes

Explorer.exe /Root Issue

 
 
esiemiat
Guest
Posts: n/a

 
      08-17-2007
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?

 
Reply With Quote
 
 
 
 
Steve Easton
Guest
Posts: n/a

 
      08-17-2007
Because %SystemRoot% is the windows directory.
Why are you staring from there?


--

Steve Easton



"esiemiat" <> wrote in message
news:FD94DFAC-E5AB-4166-8759-...
>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?
>



 
Reply With Quote
 
esiemiat
Guest
Posts: n/a

 
      08-24-2007
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" <> wrote in message
> news:FD94DFAC-E5AB-4166-8759-...
> >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?
> >

>
>
>

 
Reply With Quote
 
Ronnie Vernon MVP
Guest
Posts: n/a

 
      08-24-2007
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" <> wrote in message
news:E283DF14-32CF-407D-8F5F-...
> 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" <> wrote in message
>> news:FD94DFAC-E5AB-4166-8759-...
>> >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?
>> >

>>
>>
>>


 
Reply With Quote
 
esiemiat
Guest
Posts: n/a

 
      08-27-2007
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:

> 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" <> wrote in message
> news:E283DF14-32CF-407D-8F5F-...
> > 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" <> wrote in message
> >> news:FD94DFAC-E5AB-4166-8759-...
> >> >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?
> >> >
> >>
> >>
> >>

>

 
Reply With Quote
 
Ronnie Vernon MVP
Guest
Posts: n/a

 
      08-28-2007
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" <> wrote in message
news7E7CD47-E26A-4492-A18B-...
> 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:
>
>> 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" <> wrote in message
>> news:E283DF14-32CF-407D-8F5F-...
>> > 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" <> wrote in message
>> >> news:FD94DFAC-E5AB-4166-8759-...
>> >> >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?
>> >> >
>> >>
>> >>
>> >>

>>


 
Reply With Quote
 
SOO1
Guest
Posts: n/a

 
      07-15-2008

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.Her e]
@="Explorer from here"
[HKEY_CLASSES_ROOT\Directory\shell\Explore.From.Her e\command]
@="Explorer.exe /e,/root,/idlist,%i"


--
SOO1
 
Reply With Quote
 
 
 
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
explorer.exe /root,%userprofile% doesn't work Mike Maley Windows Vista General Discussion 5 02-28-2008 04:32 PM
explorer /root,%userprofile% Mike Maley Windows Vista General Discussion 0 01-03-2008 04:19 AM
Bug in explorer with /root Greg V. Windows Vista General Discussion 3 09-19-2007 02:30 PM
Explorer.exe pegging CPU when explorer is on root directory of dri A L Windows Vista General Discussion 2 01-29-2007 11:53 PM
ERROR - explorer.exe using /root - doesn't actulize Julius Windows Vista File Management 0 09-16-2006 12:35 PM



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 47 48 49 50 51 52 53 54 55 56 57 58 59