ok, I've got a windows xp batch file (.cmd) i'm working on, but I don't know how to store the current working directory. (i.e. $PWD in bash) Here's all I could think of, based on the windows help:

cd | set /p pwd=

but that doesn't seem to do anything.