Create list or arrays in Windows Batch
Yes, you may use both ways. If you just want to separate the elements and show they in separated lines, a list is simpler: set list=A B C D A list of values separated by space may be easily processed by for command: (for %%a in (%list%) do ( echo %%a echo/ )) > theFile.txt … Read more