@echo off set path=%~d0%~p0 :start "%path%pngquant.exe" --force --verbose 256 %1 shift if NOT x%1==x goto start