Zend certified PHP/Magento developer

Convert multiple files at once to jpg changing this .bat script [closed]

I’m using imagemagick and this .bat script in “sendto” folder, similar to sent to compressed zip, I feel like there should be a small change to the cmd script and that would be it.

@echo off

pushd "%~dp1"

magick "%~1" ^
   -set filename:0 "%%[t]" ^
      "%%[filename:0]_%%03d.jpg"

popd

exit /b