02-03-2022, 02:58 PM
Code:
cd C:\Users\wa2378\AppData\Local\Programs\GIMP 2\bin
set str=%~dp0
set str1=%str:\=\\%
start gimp-2.10.exe -idf --batch-interpreter python-fu-eval -b "import sys;sys.path.append('%str1%');import bilder_check_batch;bilder_check_batch.run('%str1%')" -b "pdb.gimp_quit(1)"
this is what did the job for me.
path.append to find the module, double slashes in the directory name and the strings called with single quotes.
Thanks for your help!