Quantcast
Channel: Hey, Scripting Guy! Blog
Viewing all articles
Browse latest Browse all 3333

PowerTip: Open Windows Explorer to a Location

$
0
0

Summary: Easily open the Windows Explorer to a specific location in Windows PowerShell.

Hey, Scripting Guy! Question How can I use Windows PowerShell with the Windows Explorer graphical tool to browse through the files in
           my home directory or documents location?

Hey, Scripting Guy! Answer Use the Explorer program name and follow it with the location. For your home directory, use the 
           $Home automatic variable:

explorer $HOME

Note To easily access your documents folder, you can use the variable that I created in 
           I Have a PowerShell Profile—Now What?:

Explorer $doc


Viewing all articles
Browse latest Browse all 3333

Trending Articles