Open File Explorer from CMD & PowerShell

File Explorer, is a default file manager application in Windows that provides a graphical user interface for accessing the file systems.

While working in a Windows command prompt (CMD) or PowerShell, sometimes you may want to open the current folder in the File Explorer to continue working from there.

This note shows how to open the File Explorer from the CMD or Windows PowerShell using the explorer command.

Cool Tip: How to open CMD or PowerShell in a folder from File Explorer! Read more →

Open File Explorer from CMD & PowerShell

Use the following command to open the current folder in the File Explorer from the CMD or Windows PowerShell:

C:\> explorer .

To specify the path to a folder to open in the File Explorer, execute:

C:\> explorer 'C:\Program Files'

You can also use the explorer command to open files or URLs in the user’s preferred applications, for example:

C:\> explorer photo.jpg
C:\> explorer doc.pdf
C:\> explorer https://www.shellhacks.com

Cool Tip: How to split screen in Windows using keyboard shortcuts! Read more →

Leave a Reply