FOR /F "usebackq delims==" %%i IN (`type regions.txt`) DO @echo %%i
I use the above example in a batch file to get one region at a time. My problem is that what I need to do for each region is quite complex, more than one line. One option would be to put all in another batch file, and use
FOR /F "usebackq delims==" %%i IN (`type regions.txt`) DO CALL otherstuff.bat %%i
but I would prefer to keep all in one batch file. Is this possible?