command line - How to set %variable%=%variable% using batch files -
i have 2 batch files.
file a:
set variablex=0
file b:
set variabley=1 set %variablex%=%variabley% echo %variablex%
the result 0 , not 1 expected. tried various options such quotes, exclamation etc.
the value of variablex lost when batch file has done executing. if call file b within file a, should work.
Comments
Post a Comment