LKBEN10684: You need to start an Explorer parameters with a certain folder in it


Symptom

The parameters for the windows explorer are often unused, this article describes its usage

Cause

none

Solution

The normal syntax for explorer parameters is

"Explorer [/e[,folder]] [/n] [/root,Objekt] [[/select],subobjekt]"

The following opens the c:\windows\system32 folder and a treeview in the left pane. With the

treeview you can navigate through the whole system.

explorer /e,c:\windows\system32

This command opens the same window but in the left pane the treeview can be only used to

navigate through c:\windows\system32 because this folder acts as root.

explorer /e,/root,c:\windows\system32

The following opens the explorer, with c:\windows\system32 as root (you cannot navigate

higher then this folder) and automatically selects the folder c:\windows\system32\config.

explorer /e,/root,c:\windows\system32 /select,c:\windows\system32\config

You can use UNC naming conventions to open a network share like:

Explorer /e,/root,\\LubbySRV\users

In the previous command the root paramter is very practical. Just try it out without. You

will notice the difference immediatelly.

This opens your desktop.

Explorer /e,/select,

Disclaimer:

The information provided in this document is intended for your information only. Lubby makes no claims to the validity of this information. Use of this information is at own risk!

About the Author

Author: Wim Peeters - Keskon GmbH & Co. KG

Wim Peeters is electronics engineer with an additional master in IT and over 30 years of experience, including time spent in support, development, consulting, training and database administration. Wim has worked with SQL Server since version 6.5. He has developed in C/C++, Java and C# on Windows and Linux. He writes knowledge base articles to solve IT problems and publishes them on the Lubby Knowledge Platform.