Monday, January 18, 2010

Windows command prompt pwd command doesn't work

There is no pwd executable file in windows. But there is a way. Create a batch script with following texts.

@echo %CD%

Save it as pwd.cmd. Now type pwd command at command prompt.

st> pwd

Also you can type cd without any arguments which works the same way as pwd in Linux.

No comments:

Post a Comment