Process all the AVI files in directory mytemp. Note you should run the batch file from the directory where VBR2CBR.bat resides. for %1 in (mytemp\*.avi) do vbr2cbr.bat "%1"