DVD Talk
What's the command line to explore "My Computer"? [Archive] - DVD Talk Forum
 
Best Sellers
1.
2.
3.
4.
5.
6.
7.
8.
The Longest Day
Buy: $54.99 $24.99
9.
10.
DVD Blowouts
1.
2.
3.
4.
5.
6.
7.
Alien [Blu-ray]
Buy: $19.99 $9.99
8.
9.
10.

PDA
DVD Reviews

View Full Version : What's the command line to explore "My Computer"?


X
08-30-05, 11:44 PM
I usually use a button on a mouse to do this but I got a new mouse (MS Wireless Optical Intellimouse that has a nice long range) which uses a newer version of the Intellimouse software that doesn't have that option anymore. I want to start explorer at the listing of all the drives.

It will let me enter my own command though so I'm using "explorer.exe" but that starts at "My Documents". "explorer.exe c:" starts at C:. It doesn't like "explorer.exe "My Computer".

Anyone know?

mikehunt
08-30-05, 11:55 PM
I don't think it's possible. "My Computer" is a virtual Windows concoction, unlike say "my documents" which is an actual folder on a drive

X
08-30-05, 11:57 PM
Well, the old versions of Intellimouse could do it. But they didn't show you the command line, "Explore My Computer" was just a built in option.

So there must be some hook to "My Computer". It's probably some guid or something.

cajun_junky
08-31-05, 12:07 AM
Does this give you what you want?

explorer.exe/select,c:

the comma is important. You can also use any drive letter you have. This forces explorer to open the folder above whatever drive letter you type (in this case c:)

HN
08-31-05, 12:08 AM
Run("explorer.exe","/e,/select,z:\")

X
08-31-05, 12:09 AM
I found one method...

explorer.exe /e,/root,::{20D04FE0-3AEA-1069-A2D8-08002B30309D}

X
08-31-05, 12:11 AM
Run("explorer.exe","/e,/select,z:\")My computer doesn't like that at all!

cajun_junky
08-31-05, 12:12 AM
My computer doesn't like that at all!

Probably because you don't have a z: drive. Try what I suggested.

X
08-31-05, 12:12 AM
Does this give you what you want?

explorer.exe/select,c:

the comma is important. You can also use any drive letter you have. This forces explorer to open the folder above whatever drive letter you type (in this case c:)That looks promising. Win2K doesn't seem to like it though.

A space before the "/" works though. Very nice! Thanks.

HN
08-31-05, 12:14 AM
My computer doesn't like that at all!
d'oh. sorry :o

got it from here - http://techsupt.winbatch.com/TS/T000001055F7.html
it said "same as hitting the Windows key+E"

cajun_junky
08-31-05, 12:14 AM
Ooops, I assumed you were on a winxp machine. I haven't worked with w2k in awhile.

X
08-31-05, 12:15 AM
Ooops, I assumed you were on a winxp machine. I haven't worked with w2k in awhile.No, it worked. It just needed a space before the /.

cajun_junky
08-31-05, 12:16 AM
Interesting, no space needed on my winxp rig.

X
08-31-05, 12:17 AM
d'oh. sorry :o

got it from here - http://techsupt.winbatch.com/TS/T000001055F7.html
it said "same as hitting the Windows key+E"It did end up working when I entered it as

explorer.exe /e,/select,z:\

X
08-31-05, 12:18 AM
Interesting, no space needed on my winxp rig.Yeah.

It's going on XP anyway, but I'm using a Win2K computer for this.

cajun_junky
08-31-05, 12:22 AM
I can't get it to work with z: with or without the space. Keeps telling me the path does not exist. No go on explorer.exe /e,/select,z:\ either.

X
08-31-05, 12:24 AM
Well, it works for me because I have a Z drive. Try a c: instead.

It's nice because it gives you two panels. I only get one with your method.

cajun_junky
08-31-05, 12:27 AM
One thing you could do if you have say 2 or 3 different things you wanted to do is create batch files with real short names.

I just created a open.bat file with explorer.exe/select,c:
when I type in open.bat ....bingo

I am always looking for the fewest keystrokes.

cajun_junky
08-31-05, 12:32 AM
Well, it works for me because I have a Z drive. Try a c: instead.

It's nice because it gives you two panels. I only get one with your method.

You are right, with the longer method the folder view comes up. No space needed. Nice.

X
08-31-05, 12:38 AM
Just tried it with the new mouse and it works great.

It's for my HTPC and depending on what resolution I'm running on the RPTV it's sometimes a pain clicking on icons. So this is a real nice shortcut.

Thanks you guys.

X
09-01-05, 03:58 PM
Well, that mouse shortcut worked so well I figured I'd update the mouse software on my main (Win2K) computer too. I'm not too thrilled with the way it scrolls now, you can't specify the number of lines per wheel stop, it depends on wheel speed now, but I can live with that. It did fix another problem I was having so I'm real happy about that.

But when I press the mouse button to run Windows Explorer, it doesn't always come up to the foreground. When I'm in IE, WE will come up flashing on the taskbar and I have to click it to show the panel on my screen. It always came up to the foreground with the old Intellimouse software that had "Explore My Computer" as an option.

adamblast
09-01-05, 07:03 PM
I use this method for folder-shortcuts in general, to have direct icons for my most common folders.. I always like to use the folder-view and the details setting.

sfsdfd
09-01-05, 11:58 PM
I found one method...

explorer.exe /e,/root,::{20D04FE0-3AEA-1069-A2D8-08002B30309D}
Yeah, that would've been my first guess. Psh... n00bs...

- David Stein

Ranger
09-02-05, 01:06 AM
{20D04FE0-3AEA-1069-A2D8-08002B30309D}

You can use this as some kind of file extension. For example, select a folder and add ".{20D04FE0-3AEA-1069-A2D8-08002B30309D}" (w/o the quotes) to the folder name and that folder will point to my computer - hiding the contents of the original folder. You want to get your old folder back, just remove that extension.