How do I find the local path on Windows in a command prompt?
This prints it in the console:
echo %cd%
or paste this command in CMD, then you'll have pwd:
pwd
(echo @echo off echo echo ^%cd^%) > C:\WINDOWS\pwd.bat