Variable for current directory ?

  • Thread starter Thread starter flahmeshess
  • Start date Start date
F

flahmeshess

Is there a variable for current directory which can be use in a batch
file ? I'm not referring to the '.' which will change whenever I
change the directory.

eg. I want to set a environment variable to my current
directory....say

set work_dir=%currentdir% if there is such a variable


Thanks very much in advanced.
 
Back
Top