How do I find the local path on windows in a command prompt?
422
votes
10 Answers
526
votes
28
votes
15
votes
1
votes
0
votes
0
votes
In PowerShell pwd
is an alias to Get-Location
so you can simply run pwd
in it like in bash
It can also be called from cmd like this powershell -Command pwd
although cd
or echo %cd%
in cmd would work just fine