Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- @echo off
- REM Place pngcrush.exe in you path
- CLS
- FOR /F "tokens=*" %%G IN ('dir /A:-D /b *.png') DO (
- Move "%%G" "%%G.temp"
- pngcrush.exe "%%G.temp" "%%G"
- DEL "%%G.temp"
- )
- PAUSE
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement