Page 1 of 1

Montage Label with Wildcard - .bat script

Posted: 2017-05-01T09:09:47-07:00
by tuggleg
Hello all,
I am having difficulties creating a simple montage .bat script with labels and wildcard.

Code: Select all

montage -label '%f' -pointsize 100 *.jpg -tile x1 -geometry +2+2  MAIN.jpg
Due to the wildcard (*.jpg) all images in the montage are labeled 'f'. Has anyone found a way around this?


*edit was made on title

Re: Montage Label with Wildcard - .bat script

Posted: 2017-05-01T09:24:25-07:00
by snibgo
In BAT scripts, % has a special meaning (script parameters). To avoid the special meaning, you need to double them: %%f.

Re: Montage Label with Wildcard - .bat script

Posted: 2017-05-04T06:57:49-07:00
by tuggleg
Great - this works. Thanks @snibgo