how to pwd in windows command prompt code example Example: pwd in cmd $(pwd) on windows cmd is %cd% .