how to open explorer to specific folder?

Tim Travis

Member
Oct 9, 1999
64
0
71
I know this is really simple and I had it set before. It has something to do with added to the command line inside the properties. I just can't remember what it is. Thanks
Tim
 

Tim Travis

Member
Oct 9, 1999
64
0
71
ok, another dumb question, when I do that and open it, the folder button will not stay on, so it shows the folders and drives on the left. what do I do to fix that?
 

Smilin

Diamond Member
Mar 4, 2002
7,357
0
0
ah. ok that's more of a 'browse folder' kinda thing instead.

From a command line try "start c:\example" and see if that gets what you want. It should adhere to saved folder settings for that particular folder.



Just as an extra fyi.. I use the "command here" reghack to drop from explorer to command line. To go the opposite way you can navigate to the folder you want via command line and use "start ." (start dot) to jump to explorer from that point.


Hope this helps. Beyond that I'll have to go search help or the web.
 

imported_Troy McClure

Junior Member
Feb 9, 2007
6
0
0
Google is your friend........

Let's say that Explorer opens at C:\ and you want D:\ to be open on startup. Find the shortcut in the Windows\Start Menu and change the properties from:

C:\WINDOWS\EXPLORER.EXE /n,/e,C:
to
C:\WINDOWS\EXPLORER.EXE /n,/e,D:

To open in My Computer, use:
C:\WINDOWS\EXPLORER.EXE /n, /e, ::{20D04FE0-3AEA-1069-A2D8-08002B30309D}
Note the double colon.

To open to "My Documents" folder, use:
C:\Windows\Explorer.exe /n, /e, ::{450d8fba-ad25-11d0-98a8-0800361b1103}
Note the double colon.


Windows Explorer Command-Line Switches

explorer [/n] [/e][,/root,object][[,/select],subobject]

Parameters

/n
Always open a new window (even if the specified folder is already open).

/e
Use Windows Explorer view. The default is Open view.

/root,object
Specify the object in the normal name space that will be used as the
root of this Windows Explorer Folder. The default is to just use the
normal name space root (the desktop).

subobject
Specify the folder to receive the initial focus unless /select is used.
The default is the root.

/select
Specifies that the parent folder is opened and the specified object is
selected.

Windows Explorer Examples

To open a window rooted at \\myserver so you can easily
browse the whole server, but nothing else:

explorer /e,/root,\\myserver

To open a folder window on C:\WINDOWS (or make an open window active) and
select CALC.EXE, use:

explorer /select,c:\windows\calc.exe

 

imported_Troy McClure

Junior Member
Feb 9, 2007
6
0
0
I'm glad you brought it up, I've been meaning to get around to doing it since I installed Vista and every time I would bring up explorer I said to myself, I have to change that but in the middle of working you do what ya gotta do and hope to get back to it.

 

Smilin

Diamond Member
Mar 4, 2002
7,357
0
0
Don't disable the favorites in Vista Explorer! Drag stuff over there. It rocks!