The parameters for the windows explorer are often unused, this article describes its usage
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.
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.
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:
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.
About the Author
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 in different European countries and different European languages. He writes knowledge base articles to solve IT problems and publishes them on the Lubby Knowledge Platform where he is one of the most important contributors and the main developer.