Windows equivalent to UNIX pwd

How do I find the local path on windows in a command prompt?


Solution 1:

This prints it in the console:

echo %cd%

or paste this command in CMD, then you'll have pwd:

(echo @echo off
echo echo ^%cd^%) > C:\WINDOWS\pwd.bat

Solution 2:

It is cd for "current directory".