Go Back  DVD Talk Forum > General Discussions > Tech Talk
Reload this Page >

What's the command line to explore "My Computer"?

Tech Talk Discuss PC Hardware, Software, Internet and Other Technology

What's the command line to explore "My Computer"?

Old 08-30-05, 10:44 PM
  #1  
X
Administrator
Thread Starter
 
X's Avatar
 
Join Date: Oct 1987
Location: AA-
Posts: 10,704
What's the command line to explore "My Computer"?

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?
X is offline  
Old 08-30-05, 10:55 PM
  #2  
DVD Talk Hero
 
Join Date: Aug 2000
Location: Bartertown due to it having a better economy than where I really live, Buffalo NY
Posts: 29,697
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
mikehunt is offline  
Old 08-30-05, 10:57 PM
  #3  
X
Administrator
Thread Starter
 
X's Avatar
 
Join Date: Oct 1987
Location: AA-
Posts: 10,704
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.
X is offline  
Old 08-30-05, 11:07 PM
  #4  
DVD Talk Special Edition
 
Join Date: Feb 2003
Location: Bluegrass State
Posts: 1,271
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
cajun_junky is offline  
Old 08-30-05, 11:08 PM
  #5  
HN
DVD Talk Hall of Fame
 
Join Date: Oct 1999
Location: Los Angeles, CA
Posts: 8,359
Run("explorer.exe","/e,/select,z:\")
HN is offline  
Old 08-30-05, 11:09 PM
  #6  
X
Administrator
Thread Starter
 
X's Avatar
 
Join Date: Oct 1987
Location: AA-
Posts: 10,704
I found one method...

explorer.exe /e,/root,::{20D04FE0-3AEA-1069-A2D8-08002B30309D}
X is offline  
Old 08-30-05, 11:11 PM
  #7  
X
Administrator
Thread Starter
 
X's Avatar
 
Join Date: Oct 1987
Location: AA-
Posts: 10,704
Originally Posted by HN
Run("explorer.exe","/e,/select,z:\")
My computer doesn't like that at all!
X is offline  
Old 08-30-05, 11:12 PM
  #8  
DVD Talk Special Edition
 
Join Date: Feb 2003
Location: Bluegrass State
Posts: 1,271
Originally Posted by X
My computer doesn't like that at all!
Probably because you don't have a z: drive. Try what I suggested.
cajun_junky is offline  
Old 08-30-05, 11:12 PM
  #9  
X
Administrator
Thread Starter
 
X's Avatar
 
Join Date: Oct 1987
Location: AA-
Posts: 10,704
Originally Posted by cajun_junky
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.
X is offline  
Old 08-30-05, 11:14 PM
  #10  
HN
DVD Talk Hall of Fame
 
Join Date: Oct 1999
Location: Los Angeles, CA
Posts: 8,359
Originally Posted by X
My computer doesn't like that at all!
d'oh. sorry

got it from here - http://techsupt.winbatch.com/TS/T000001055F7.html
it said "same as hitting the Windows key+E"
HN is offline  
Old 08-30-05, 11:14 PM
  #11  
DVD Talk Special Edition
 
Join Date: Feb 2003
Location: Bluegrass State
Posts: 1,271
Ooops, I assumed you were on a winxp machine. I haven't worked with w2k in awhile.
cajun_junky is offline  
Old 08-30-05, 11:15 PM
  #12  
X
Administrator
Thread Starter
 
X's Avatar
 
Join Date: Oct 1987
Location: AA-
Posts: 10,704
Originally Posted by cajun_junky
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 /.
X is offline  
Old 08-30-05, 11:16 PM
  #13  
DVD Talk Special Edition
 
Join Date: Feb 2003
Location: Bluegrass State
Posts: 1,271
Interesting, no space needed on my winxp rig.
cajun_junky is offline  
Old 08-30-05, 11:17 PM
  #14  
X
Administrator
Thread Starter
 
X's Avatar
 
Join Date: Oct 1987
Location: AA-
Posts: 10,704
Originally Posted by HN
d'oh. sorry

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 is offline  
Old 08-30-05, 11:18 PM
  #15  
X
Administrator
Thread Starter
 
X's Avatar
 
Join Date: Oct 1987
Location: AA-
Posts: 10,704
Originally Posted by cajun_junky
Interesting, no space needed on my winxp rig.
Yeah.

It's going on XP anyway, but I'm using a Win2K computer for this.
X is offline  
Old 08-30-05, 11:22 PM
  #16  
DVD Talk Special Edition
 
Join Date: Feb 2003
Location: Bluegrass State
Posts: 1,271
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.
cajun_junky is offline  
Old 08-30-05, 11:24 PM
  #17  
X
Administrator
Thread Starter
 
X's Avatar
 
Join Date: Oct 1987
Location: AA-
Posts: 10,704
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.
X is offline  
Old 08-30-05, 11:27 PM
  #18  
DVD Talk Special Edition
 
Join Date: Feb 2003
Location: Bluegrass State
Posts: 1,271
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 is offline  
Old 08-30-05, 11:32 PM
  #19  
DVD Talk Special Edition
 
Join Date: Feb 2003
Location: Bluegrass State
Posts: 1,271
Originally Posted by X
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.
cajun_junky is offline  
Old 08-30-05, 11:38 PM
  #20  
X
Administrator
Thread Starter
 
X's Avatar
 
Join Date: Oct 1987
Location: AA-
Posts: 10,704
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 is offline  
Old 09-01-05, 02:58 PM
  #21  
X
Administrator
Thread Starter
 
X's Avatar
 
Join Date: Oct 1987
Location: AA-
Posts: 10,704
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.
X is offline  
Old 09-01-05, 06:03 PM
  #22  
DVD Talk Legend
 
Join Date: Mar 2001
Location: Lompoc, CA
Posts: 11,460
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.
adamblast is offline  
Old 09-01-05, 10:58 PM
  #23  
DVD Talk Legend
 
Join Date: Oct 1999
Location: |-|@><0r [email protected]|)
Posts: 17,214
Originally Posted by X
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
sfsdfd is offline  
Old 09-02-05, 12:06 AM
  #24  
DVD Talk Legend
 
Join Date: Apr 2002
Posts: 20,688
{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.
Ranger is offline  

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 On
Trackbacks are Off
Pingbacks are Off
Refbacks are Off


Thread Tools
Search this Thread

Archive Advertising Cookie Policy Privacy Statement Terms of Service

Copyright 2018 MH Sub I, LLC dba Internet Brands. All rights reserved. Use of this site indicates your consent to the Terms of Use.