Wednesday, 10 May 2017

pwd like command in Windows command prompt

There are two methods to do so :


  1. to print path use : echo %cd%
  2. Alternatively you can set pwd command itself to work with windows :
(echo @echo off 
echo echo ^%cd^%) > C:\WINDOWS\pwd.bat

After this you can simply use pwd command in windows.

No comments:

Post a Comment