0

Good day,

I would like to shorten the following test.txt file by batch and only transfer certain columns to a new testnew.txt.

test.txt:

1;2;3;4;5;

testnew.txt:

1;3;5;

I know I can do this using the following batch code:

FOR / F "tokens = 1,2,3,4,5 delims =;" %%a in ("% source%") do echo %%a;%%c;%%e;

But how can I save it in my target file now?

Julius
  • 17
  • 3

0 Answers0