Windows Explorer command line switches
1 January 2000 by Snakefoot | Comment » | Trackback Offexplorer.exe [/n][,/e][,/root,object][[,/select],subobject]
- /n - always open a new window (even if the specified folder is already open)
- /e - uses windows explorer view(Tree view)
- /root,object - Specify the object in the normal namespace that will be used as the root of this Windows Explorer Folder
- subobject - Specify the folder to receive the initial focus unless /select is used
- /select - Specifies that the parent folder is opened and the specified object(program) is selected.
Examples of different commands:
- Opens My Computer with tree-view (With Drive-Letter A: selected):
Explorer.exe /e,/select,A:
- Opens C-Drive with tree-view:
Explorer.exe /e,/root,c:\
- Opens Desktop with tree-view:
Explorer.exe /e,/select,
- Opens special folder:
explorer.exe /e,::{20D04FE0-3AEA-1069-A2D8-08002B30309D}
More Info MS KB Q307856
More Info MS KB Q314853
Tags:
Category:
Updated: 23 September 2007
Comment by Jonathan - 16 June 2008 @ 2:27 Reply
Thanks, very helpful info..