don't use CD, and use full paths for all.
c:\path\to\imagemagick\bin\identify -format "%w:%h" c:\path\to\image
\image.jpg
--
Robert Garcia
President - BigHead Technology
VP Application Development - eventpix.com
13653 West Park Dr
Magalia, Ca 95954
ph: 530.645.4040 x222 fax: 530.645.4040
[EMAIL PROTECTED] - [EMAIL PROTECTED]
http://bighead.net/ - http://eventpix.com/
On Nov 21, 2007, at 10:42 AM, Brian Humes wrote:
Hi all,
Just installed ImageMagick on my Windows Server 2003 box. I am
writing a simple Witango file that calls, through an external
action, a .bat file. The .bat file is a text file that has some
ImageMagick commands, one on each line.
For example, I want to get to the directory where my image is
stored, then get the image dimensions of the image, so my .bat file
looks like this:
cd "c:\path\to\my\webdocs\images\"
identify -format "%w:%h" someimage.jpg
When I type these commands in the command prompt, everything works
perfectly. When I run my .taf file that calls the .bat file, the
return I get from Windows is "'identify' is not recognized as an
internal or external command, operable program or batch file."
I'm new to ImageMagick, so I'm sure this is something simple. Any
help is greatly, greatly appreciated.
Happy Thanksgiving!!!
Brian Humes
Director, Interactive
JohnsonRauhoff
269-428-9257 (direct)
269-428-3377 (main)
269-428-3312 (fax)
www.johnson-rauhoff.com
[EMAIL PROTECTED]
________________________________________________________________________
TO UNSUBSCRIBE: Go to http://www.witango.com/developer/maillist.taf
________________________________________________________________________
TO UNSUBSCRIBE: Go to http://www.witango.com/developer/maillist.taf