I need your help please. I have a problem with concatenate.
SET /A "index=1"
for /f "skip=%index%" %%G IN (anoiarseeds.txt) DO if not defined var%index% set "var%index%=%%G"
This code is working but the problem in the next step how can I echo the value of var%index% ?
%var%%index% doesn't work.
!%var%%index%%! doesn't work either.
call, thanks. There is one caveat with it though: try changing the name of the loop variable from%%Gto%%vand see what happens. I guess it was not supposed to be used like this, the parser fails if the first letter of the variable to be expanded is the same as the loop variable. – wombatonfire May 12 '19 at 10:33