Rize S. answered 03/23/23
Senior IT Certified Trainer, IT Developer & DBA Administrator
It looks like your FOR /F loop is not terminating properly, causing the subsequent commands to not execute. You can try adding a closing parenthesis after the copy command to explicitly end the loop:
FOR /F "tokens=1,2,3 delims=," %%a in (c:\cygwin\usr\work\easy.lst) do ( c:\ruby191\bin\scrapitalist website -u http://www.website.com/%%a/%%c/%%b.html -o C:\cygwin\usr\autobets\work\%%b_%%c.easy ) copy c:\cygwin\usr\work\*.easy c:\cygwin\usr\autobets\work\easy.imp
This should ensure that the loop is properly terminated before moving on to the copy command.