So, I'm trying to rescale a bunch of images at once with a program called ImageResizer, and the command forfiles
.
But since I have to use quotation marks for both, the command itself, and an argument inside of it, that won't work:
ERROR: Argument/Option invalid- '4x /save @FILE'.
How do I handle those two strings in batch? I found some similar questions, but I didn't get it to work.
Here's my code:
@echo off
cd %~dp0
cd gfx
forfiles /s /m *.png /c "C:\Users\Manu\Desktop\NeuerOrdner\ImageRes.exe /load @FILE /resize auto "XBR 4x" /save @FILE"
pause