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

PowerTip: Find Current Directory in PowerShell

$
0
0

Summary: Easily find the current directory in Windows PowerShell. 

Hey, Scripting Guy! Question How can I return a path object that contains information about the current working directory in Windows PowerShell?

Hey, Scripting Guy! Answer Use the $pwd automatic variable:

PS C:\> $pwd


Viewing all articles
Browse latest Browse all 3333

Trending Articles