Thanks, paynekj.
I do not use Windows, but from some previous reading I gathered it would also be possible to use a
HERE document.
"C:\Program files\GIMP 2\bin\gimp-2.8" -b - @'
(script-fu-RemapMosaic "batTestOverlapScript64.xcf" "batTestOverlapScript64.xcf" 4 4 64 42 FALSE TRUE TRUE 4 TRUE 4 TRUE 4)
'@
Note the hyphen after the -b switch. This indicates that GIMP is supposed to read the script code from standard input (not the command line), and the
@' ... '@ indicates that the text inside should be provided as standard input to the command.
N.B. I have never tried this.