It is possible to open a specific path using the explorer command line.
What is less clear is how to open one of the libraries listed in the side pane, like 'Favorites', 'Pictures', 'Desktop' or 'Computer'.
I tried simply passing those names, but that always seems to open up 'My Documents'.
Best Answer
Opening shell folders from the command line
The folders you're referring to are shell folders, and you can't open them by simply passing their name as a parameter. A special syntax is required:
The entire list is stored in the following registry key in Windows Vista and later:
Each subkey is a Globally unique identifier (GUID). The
Name
value is what you can use in theshell:
syntax, which works regardless of the locale. See the related article below for other possible values (or just check the registry yourself).Examples
Computer shell folder:
You can also achieve the same result by using the shell folder GUID:
Favorites shell folder (not to be confused with Internet Explorer favorites):
Pictures library:
Further reading