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

Popular posts from this blog

Why does Ruby on Rails generate add a blank line to the end of a file? -

keyboard - Smiles and long press feature in Android -

node.js - Bad Request - node js ajax post -