I would like to know how to loop through each line in a text file using a Windows batch file and process each line of text in succession. I have a text file containing filenames.
What I'd like to do is something like
for x in textFile
"python C:\main.py -s x" # the command i want to run