Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

if I do run (Winkey + R) and type "C:\", explorer shows up in "C:\".

I'd like to know how to do the same for the My Computer folder in Windows Vista / 7.

share|improve this question
I've found this when I was searching run prompt history. Try ' file: ' without quotes. :) – Gangadhar Jannu Jun 16 at 6:24
up vote 42 down vote accepted

You could just press WIN+E and skip the run prompt all together.

share|improve this answer
I'd agree with this one – hyperperforator Jan 4 '11 at 10:45
I was just about to say this... then I realized you beat me to it by 3 years! – Austin ''Danger'' Powers Feb 10 '14 at 8:49
This don't answer the question. The question ask "from cmd line". – Meds Apr 19 at 15:34
Nope, it gives an alternative solution that the OP may not have known about, and since it is the accepted answer and the answer with the must up votes I would conclude the OP and at least 41 others found it helpful. – ubiquibacon Apr 21 at 17:57

The easiest way is to type shell:mycomputerfolder or Win+E

Here is a list of other locations.

share|improve this answer
+1 I'd select this as the best answer.. – Anubis Nov 8 '12 at 4:09

Try :

explorer.exe /e,::{20D04FE0-3AEA-1069-A2D8-08002B30309D}
share|improve this answer
It'd be useful to know how you worked that one out – barlop Jan 4 '11 at 10:29
@barlop: Google is my friend. – harrymc Jan 4 '11 at 10:53
@harrymc if you found it via google then the exact link would've been useful in your answer. But i'll have a look – barlop Jan 4 '11 at 11:32
@harrymc you may have hit on something that is generically useful.. in launching anything obscure. And all one needs is the GUID.. just have to find the GUID somehow. Only thing is it's a bit inefficient, as it is. – barlop Jan 4 '11 at 11:33
@barlop: There are hundreds of class-names describing places, as Explorer is the main user interface for Windows. The one above comes from HKEY_CLASSES_ROOT\CLSID\{20D04FE0-3AEA-1069-A2D8-08002B30309D} (look at the sub-keys). For the grand-daddy of them all, use Explorer to create a folder called ControlPanel.{ED7BA470-8E54-465E-825C-99712043E01C}, then look inside. – harrymc Jan 4 '11 at 11:45

The closest I can think of is typing the below into the run dialog;


But I believe that only brings up your home folder.

share|improve this answer
Yes, this only brings up the user's home folder. – SgtOJ Jan 4 '11 at 10:29
It brings up "my computer" for me! Where did you hear of that one? try adding more dots if it doesn't work. e.g. start run (dot) <ENTER> gets to %userprofile%, then .. would go up one level, and ... up 2 levels which should be c:\ but if for some reason it wasn't (why?!) then you could add more dots (adding to what I just wrote) it brings up "my computer" in XP. I can't comment on windows vista – barlop Jan 4 '11 at 10:32
. always means the current directory, and .. its parent. Three or more dots has no special meaning; however, since Windows API normally strips off the trailing dots from a filename ( automatically becomes, some programs treat ... the same way as .., and others strip off all dots resulting in empty path. – grawity Jan 4 '11 at 13:38
@grawity +1 seems about right- I see "cd ..." in cmd is just nothing But start run ... Does start "my computer" in xp. Whereas start run .. does not. start run ..\..\..\..\ just goes to C:\ (which is understandable) and doesn't start "my computer". So I guess perhaps ... is just a start run thing. I'd not seen ... listed in the few start run shortcut lists i've seen. – barlop Jan 4 '11 at 14:18
In XP it opens My Computer but in Win7 it opens my home folder. – glenneroo Jan 20 '11 at 6:43

The easiest way:

  • Write: explorer = and My Computer window will pop up
  • Write: explorer c: and the C drive window will open.

This is working fine on Windows 7.

share|improve this answer

This one

explorer /root,

Yes, the comma is important

share|improve this answer
That one is just cool. – user1167442 Jul 19 '13 at 16:17
Fancy, but doesn't work on Windows Vista. – user2428118 Sep 19 '13 at 12:16

I wanted this too, but I've just gotten in the habit of opening the C: drive through the Run dialog then pressing backspace to go up a folder into My Computer.

It's not really the "right" answer but it gets me there in just one additional keystroke so I'm happy with it. Much better than memorizing any GUIDs, anyway.

share|improve this answer

Try this:

runas /noprofile /user:domain\username explorer

It works for all other command line options as far as I know.

share|improve this answer
... starts Explorer with "Libraries" open, not "My Computer" under Windows 7. – Jonas Heidelberg Aug 31 '11 at 19:52

You must log in to answer this question.

protected by Community Sep 1 '15 at 9:50

Thank you for your interest in this question. Because it has attracted low-quality or spam answers that had to be removed, posting an answer now requires 10 reputation on this site (the association bonus does not count).

Would you like to answer one of these unanswered questions instead?

Not the answer you're looking for? Browse other questions tagged .