FOR with several params in bat files
When I worked on bat-files for text program, I need to run FOR loop with several parameters (input/output files). I found solution with external file.
FOR /F "tokens=1-3" %%A IN (testList.txt) DO @echo %%C %%B %%A
If testList.txt contains
A B C 1 2 3 one two three
You get:
C B A 3 2 1 three two one
Теги: English