This is my pngbest.bat
i need to run this on all files in a directory three containing several thousands .PNGs at around 12GB in total size
For %%i in (0,1,2,3,4,5) do pngout %1 /f%%i /r
For %%i in (0,64,128,192,256,384,512,768,1024) do pngout %1 /b%%i /r
advpng -z -4 %1
many of the filenames contains spaces
for %i in (*.png) do pngbest "%i"
in the command box works perfectly for that one folder
However using Sweep for %i in (*.png) do pngbest "%i"
Does not. It simply seems to forget the " around %i
Doing Sweep for %i in (*.png) do pngbest ^"%i^"
Does not work either