Rotate 90< .bat

Questions and postings pertaining to the usage of ImageMagick regardless of the interface. This includes the command-line utilities, as well as the C and C++ APIs. Usage questions are like "How do I use ImageMagick to create drop shadows?".
Post Reply
architektura
Posts: 21
Joined: 2016-10-03T05:11:21-07:00
Authentication code: 1151

Rotate 90< .bat

Post by architektura »

when I want to go with files into forfiles loop in.bat file I get strange info:

Code: Select all

this is my source of bat file:
forfiles /s /m *.JPG /p "C:\im\test" /c "cmd /c "c:\im\magick.exe" convert @path -rotate "90<" @path"

Code: Select all

this is what I get into cmd line - error with code "90 0<" :
 forfiles /s /m *.JPG /p "C:\im\test" /c "cmd /c "c:\im\magick.exe" convert @path -rotate "90  0<" @path"
90< vs 90 0<

I cant remeber what signs/apostrophes can I use to prevent this error - any help needed :)
thank
arc
User avatar
GeeMack
Posts: 718
Joined: 2015-12-01T22:09:46-07:00
Authentication code: 1151
Location: Central Illinois, USA

Re: Rotate 90< .bat

Post by GeeMack »

architektura wrote: 2017-07-28T01:54:12-07:00I cant remeber what signs/apostrophes can I use to prevent this error - any help needed
Try it with a caret "^" in front of the "<" like this...

Code: Select all

... -rotate 90^< ...
architektura
Posts: 21
Joined: 2016-10-03T05:11:21-07:00
Authentication code: 1151

Re: Rotate 90< .bat

Post by architektura »

Thank You mr GeeMack!
Post Reply