I don't think $PWD is defined on Windows