Struggling with bat in Win7
Posted: 2012-10-07T06:49:37-07:00
Hello from Italy (pls excuse my poor english).
I'm trying to do some tile cropping, but i'm becoming crazy with the bat file.
This is how it is after reading the help and the "using magick in windows":
I'm sure i've missed something, but i can't figure what. Any help?
Also:
why i can't use pathnames/filename like "D:\== TEMP FOLDER==\ - this is a strange name -\filename"?
It keeps keeping the "minus signs" or the "equals" as parameters...
Oh, using Win7 32 ultimate (italian)
Thanks
I'm trying to do some tile cropping, but i'm becoming crazy with the bat file.
This is how it is after reading the help and the "using magick in windows":
This is what i get back:SETLOCAL EnableDelayedExpansion
convert "%1" -crop 660x500 +repage +adjoin "card_%~n1_%%02d.png"
pause
(which means "invalid parameter - crop")D:\ImmaginiCarte>convert "D:\ImmaginiCarte\01.png" -crop 660x500 +repage +adjoin
"card_01_%02d.png"
Parametro non valido - -crop
I'm sure i've missed something, but i can't figure what. Any help?
Also:
why i can't use pathnames/filename like "D:\== TEMP FOLDER==\ - this is a strange name -\filename"?
It keeps keeping the "minus signs" or the "equals" as parameters...
Oh, using Win7 32 ultimate (italian)
Thanks