Command line too long in batch file for Gimp

Posted on

QUESTION :

I have run into an issue using GIMP’s batch processing.

I have a lot of files spred over a directory tree which need to be processed by a script-fu.
I tried to generate a batch file which calls my script for each of theses, but windows complains about the command line being to long.

Here is what my batch file looks like:

@echo off
gimp -d -i -b --verbose "(myscriptName "path\to\file.png"") -b ""(myscriptName ""other\pathto\file2.png"") [...]

ANSWER :

Leave a Reply

Your email address will not be published.