pwd in windows terminal code example
Example 1: pwd in cmd
$(pwd) on windows cmd is %cd% .
Example 2: pwd in command prompt
(echo @echo off
echo echo ^%cd^%) > C:\WINDOWS\pwd.bat
$(pwd) on windows cmd is %cd% .
(echo @echo off
echo echo ^%cd^%) > C:\WINDOWS\pwd.bat