• Still running Windows 7 or earlier? Support for Windows 7 ended on January 14th 2020. Please review the thread here for more details.

Explorer Command - Access "My Computer" Location

AceInfinity

Emeritus, Contributor
Joined
Feb 21, 2012
Posts
1,728
Location
Canada
Just found something new today, not much though, but in case anybody else did not know, and this should work for Windows 7/Vista as far as I know...

Code:
explorer.exe,

This in command prompt will bring you to your My Computer/Computer location :)

Or you can just use:
Code:
explorer,

Since it's in an environment variable location and will compare by the filename to infer that it's an executable.
 
Are you sure you're using the comma? That's strange

"explorer" by itself takes me to Libraries.

Edit; through some tests:
Code:
explorer/

Takes me to My Documents.

Edit:
Code:
explorer&

Takes me to the Libraries too.

Found a few others that navigate to My Computer and Libraries, but not any other locations.
 
Last edited:
AHA!!!! Added the comma as well... One of the first things to remember, usually the first forgotten... Them importance of syntax
 
lol, I was starting to wonder, "Is there just something WRONG with my computer?" :lol:

5g9Ux.gif
 
Hi, the use of the comma (,) is very useful, say you want an OP to navigate to "lan Settings" under connections in Internet options, from an elevated cmd prompt OR the search bar in Vista /Seven:-

Cmd prompt:-
C:\Windows\system32>Control Inetcpl.cpl,,4 (applies to most windows apps)
By default the first window is General then ,,4 for Connections if you wanted Programs ,,5


Untitled-20.jpg


Just makes it easier for the poster to go where you want them, oddly enough I do not see this much, certainly at TSF.
 
I know about the comma's for control panel files. I just never took initiative to see whether or not explorer.exe had any interpretable command line arguments or parameters in it's environment. :)
 

Has Sysnative Forums helped you? Please consider donating to help us support the site!

Back
Top