Advertisement
Guest User

Untitled

a guest
Jan 19th, 2017
79
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.45 KB | None | 0 0
  1. start _OPNG.exe *.png -zc9 -zm9 -zs3 -f0-5 -nc -strip "all"
  2.  
  3. @echo off
  4. echo.
  5. set apppath="F:OptiPNGOptiPNG.exe"
  6. if [%1]==[] echo Usage: %0 "PNG Dir" && echo. && echo Error: Invalid parameters && goto :EOF
  7. if not exist %1 echo Usage: %0 "PNG Dir" && echo. && echo Error: Invalid directory "%~1" && goto :EOF
  8. %apppath% "%~1*.png" -zc9 -zm9 -zs3 -f0-5 -nc -strip "all"
  9. for /d /r "%~1" %%a in (*.*) do %apppath% "%%~a*.png" -zc9 -zm9 -zs3 -f0-5 -nc -strip "all"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement