Explorer.exe /Root Issue

G

Guest

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?
 
S

Steve Easton

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

Guest

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.
 
R

Ronnie Vernon MVP

Esiemiat

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

Guest

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.
 
R

Ronnie Vernon MVP

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.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top