07-23-2023, 10:53 AM
In windows batch could you set a variable within a variable?
Explained:
So the %num% is within the variable.
set num=5
set cnum=test
set h1=%c%num%%
Is it possible to make the percents work like parenthesis?
The output should be h1=test
Any help would be appreciated.
Explained:
So the %num% is within the variable.
set num=5
set cnum=test
set h1=%c%num%%
Is it possible to make the percents work like parenthesis?
The output should be h1=test
Any help would be appreciated.