バッチファイルは忘れたのでWSLに逃げました(Ubuntuです)。こちらを参考にしました。
uep@robby:~$ sudo apt install libheif-examples uep@robby:~$ cd /mnt/c/Users/YOUR_DESTINATION_DIRECTORY/ uep@robby::/mnt/c/Users//YOUR_DESTINATION_DIRECTORY$ for files in *.heic; do echo $files; done uep@robby::/mnt/c/Users//YOUR_DESTINATION_DIRECTORY$ for files in *.heic; do heif-convert $files "${files%.heic}.jpg"; done