| 1. |
Solve : Storing current directory into a variable? |
|
Answer» I'm WORKING on a concept script that requires me to save the current directory that the script is being run from in a varible to be used later: if you need the current directory then use the CD variable.Why do that when you can just use %CD%? Quote from: Helpmeh on April 23, 2010, 04:18:00 AM Why do that when you can just use %CD%? because they want to use the current directory at the time they retrieve it later on when it MAY no longer actually be the current directory? gpl caught ONTO the possible requirement the OP was after- pushd and popd. |
|