The below script copies a file to all directories named qagame on the listed drives.
Question: How do I make these same tasks but so that it only copies the file if it is under a certain size (e.g. LSS 1000000).
Please re-post the whole script with the proposed edit.
Thanks in advance...
IF EXIST dir_search.txt del /q /f dir_search.txt
FOR %%i in (C D E) do @dir %%i:\*qagame /s /b /ad>> dir_search.txt
FOR /F "tokens=* delims=" %%x in (dir_search.txt) do @copy /v /y *.z.pk3 "%%x\*.z.pk3"
del /q /f dir_search.txt