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