05-30-2022, 12:51 AM
Nope. It seems the warning may be benign though. I thought the warning was what was causing my script to hang, but that wasn't it. Turns out, it didn't like the single quotes, which I was using because escaping the double quotes didn't appear to be working. But what was actually happening was %%i evaluates to a path that contains \ which needed to be escaped. Not sure how to do that, so I just echoed all the file paths into a file, did a find replace on \ to \\, and did
which seems to run now.
Code:
for /f "tokens=*" %%i in (files.txt) do (
"C:\Program Files\GIMP 2\bin\gimp-console-2.10.exe" -c -d -i -b "(myconvert \"%%i\" \"%%i.HEIC\")" -b "(gimp-quit 0)"
)
which seems to run now.