@echo off for %%j in (*.eps) do ( echo converting file "%%j" epstopdf "%%j" ) echo done .