for /r %v in (*.heic) do mogrify -format jpg "%%v"