Tuesday 19 September 2017

batch increment variable string

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.

No comments:

Post a Comment

Where does Skype save my contact's avatars in Linux?

I'm using Skype on Linux. Where can I find images cached by skype of my contact's avatars? Answer I wanted to get those Skype avat...