|
-
June 11th, 2004, 06:49 PM
#1
set a variable with output from a command
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?
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|