Open File Explorer from the Command Line (explorer .)
Launch Explorer at the current directory or highlight a specific file using explorer.exe command-line switches.
01Command
$ explorer .
explorer /select,"C:\Users\me\Downloads\file.zip"02What it does
explorer.exe accepts a folder path to open that location, and the /select, switch opens the parent folder with the named file already highlighted — handy right after a download or build. In PowerShell you can also use Invoke-Item . (ii .) for the same effect. Note that explorer always returns exit code 1 even on success, which matters only if you're checking $? in scripts.
03Risk
04Undo
✓No undo needed — this command does not change persistent state.
05Sources
- Explorer.exe command-line options - SS64Evidence: Documents explorer . to open the current folder and explorer /select,path to open the parent folder with a file selected.
Last verified: 2026-09-18 · Category: Files & Folders
06Related solutions
Diagnose NTFS file system errors and bad sectors on any volume — including the system drive while Windows is running — before committing to a repair.
Robocopy is Windows' built-in robust file copier: use /MIR to keep a destination folder as an exact one-way mirror of a source, resumable and restartable.
One command that shows OS version, install date, boot time, memory, network adapters and installed hotfixes.