![]() So in my system I simply type and enter Do GetFileList and all those stored URLs are downloaded, where Do is an old DO'S trick to keep many small commands in one self editing zip file but nowadays I use CMD where Do Edit calls it up as Notepad "%~f0" to paste a section like this.įor /F "eol= " %%f in (filelist.txt) do curl -O %%f If using above in a batch file GetFileList.cmd then double those %%'s Note the inclusion of eol= allows us to mask individual exclusions by adding at the start of those lines in filelist.txt that we do not want this time. On Windows 10/11 this is fairly trivial using for /F "eol= " %f in (filelist.txt) do curl -O %f
0 Comments
Leave a Reply. |