I put all jpg-files in C:\001
I placed a file batch3.bat in C:\001 Only one line in that file:
for %%x in (.jpg) do “C:\Program Files\LibreOffice\program\soffice” --headless --convert-to png --outdir “C:/000” “%%x”
The execution lines show as follows:
PS C:\001> .\batch3.bat
C:\001>for %x in (.jpg) do “C:\Program Files\LibreOffice\program\soffice” --headless --convert-to png --outdir “C:\000” “%x”
C:\001>“C:\Program Files\LibreOffice\program\soffice” --headless --convert-to png --outdir “C:\000” “001.jpg”
C:\001>“C:\Program Files\LibreOffice\program\soffice” --headless --convert-to png --outdir “C:\000” “002.jpg”
C:\001>“C:\Program Files\LibreOffice\program\soffice” --headless --convert-to png --outdir “C:\000” “003.jpg”
C:\001>“C:\Program Files\LibreOffice\program\soffice” --headless --convert-to png --outdir “C:\000” “004.jpg”
In directory C:\000 I found my four png-files
Question What CLI-tools do the same job?