for /l %i in (1,1,59) do set /p=-x %i.out >>s.txt
With pressing 59 time enter key, you will get a txt file named s.txt in which the content is as below:
-x 1.out -x 2.out -x 3.out...-x 59.out
for /l %i in (1,1,59) do set /p=-x %i.out >>s.txt
With pressing 59 time enter key, you will get a txt file named s.txt in which the content is as below:
-x 1.out -x 2.out -x 3.out...-x 59.out