Command-line switches that you can use to open the GUI Windows Explorer (Explorer.exe).
Syntax Explorer.exe options Options /n Open a new single-pane window for the default selection. This is usually the root of the drive Windows is installed on. If the window is already open, a duplicate opens. /e Open Windows Explorer in its default view. This is usually the users home drive. (,)/root,object Open the specified object in a window view. /select,object Open a window view with the specified folder, file or application selected. /separate Launch the explorer instance as a separate process. (This is an undocumented feature)
Quotation marks are required if the File/Folder object contains spaces or symbols.
If /e or /n are followed by a comma and folder path then explorer will open and display the folder, the /e or /n have no effect, this provides backwards compatibility with older versions of Windows. If the object is given as a filename rather than a folder, the file will be opened using the default application, like START.
Explorer.exe is normally found in the Windows folder, typically C:\Windows\Explorer.exe
Current versions of Windows no longer allow the use of variables such as %username% in a shortcut target executable, but you can pass a variable as a parameter to Explorer.exe making it possible to build shortcuts which open explorer at a given path. A kind of poor mans folder redirection.
Open a Windows Explorer window at the current directory:
C:\some folder\> Explorer .
Open an Explorer window with the 'C:\Demo' folder displayed:
Open an Explorer window with the 'examples' folder displayed and its parent hidden:
Open a webpage in Microsoft Edge:
Open an Explorer window with SS64App selected:
Open an Explorer window with C: expanded and SS64App selected:
Open an Explorer window with the share \\server64\FileShare1 :
Open an Explorer window with TestApp.exe selected in the share\\server64\FileShare1 :
Open an Explorer window at the root of the system drive C:\
Open an Explorer window at 'My Documents':
Open an Explorer window at 'the Computer':
“From the growth of the Internet through to the mapping of the human genome and our understanding of the human brain, the more we understand, the more there seems to be for us to explore” ~ Martin Rees
Shell: folder - Shortcuts to key folders.
CMD - Start a new CMD shell.
RUN Start | RUN commands.
START - Start a program, command or batch file.
ProfileFolders - Location of user profile folders.
Q152457 - Windows Explorer Command-Line Options.