Search found 1 match
- 2017-02-14T01:28:36-07:00
- Forum: Users
- Topic: "Mogrify" error handling in Windows batch
- Replies: 1
- Views: 2679
"Mogrify" error handling in Windows batch
I'm writing a Windows batch file to change folders full of TIF files to JPG and want it to go to an error-handling label if the TIF file is invalid. The relevant code is essentially mogrify.exe -format jpg "%1" if not %ERRORLEVEL%==0 goto :BAD_FILE but even when I run it on test TIFs designed to ...