Here's something I need to do in an NT shell command which is very simple in unix. I want to set a variable with the result of another command. On unix, I can say "curdir=`pwd`" and the value of curdir will be set to the result of the pwd (print working directory) command. In Windows shell scripting this appears to be impossible! Can someone suggest a workaround?
