SyntaxFix
Write A Post
Hire A Developer
Questions
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