When you call a bat file from witango, it doesn't run within the
directory the bat file exists. When you double click a bat file, it
runs from the same directory the bat file exists.
So in a bat from run from witango, you must CD to the directory you
want to be in first, or use absolute paths for everything.
Also, you can download witango_cmd from my tools site, which shows
how to resize using imagemagick convert from the command line.
HTH.
--
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 Sep 18, 2005, at 6:21 PM, Vicky Bagwalla wrote:
It is running a command line for resizing images. If I double click
on the
bat file manually, it runs. On another windows 2003 server, it runs
too..
same app, same bat file... is there a setting I am missing?
Thanks
Vicky
-----Original Message-----
From: Robert Garcia [mailto:[EMAIL PROTECTED]
Sent: September 16, 2005 3:35 PM
To: [email protected]
Subject: Re: Witango-Talk: .bat file not running
What is the batch file doing? it may be executing, but the lines
within not.
--
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 Sep 16, 2005, at 11:05 AM, Vicky Bagwalla wrote:
I have an application running on a windows 2003 server and it runs
fine.
I moved it to another server and now a batch file that is supposed to
execute (via an external action) is not executing. It creates the
file
correctly in the correct folder etc but the external action to run
the file
just does NOT seem to work. I can go into the folder on the server
at the
console and double click the batch file and it will run correctly.
Just not
through the external action (I checked the path in the external
action and
its correct to point to the file.. full path like D:\Folder
\mybat.bat). I
enabled debug mode and this is what I saw:
[External Action] [33] Run_Batch_file
[Query] [33]
[External Action] [33] Forking process
[ActionResults] [50]
[External Action] [50] Complete
No errors, nothing. Any ideas?
_____________________________________________________________________
_
__
TO UNSUBSCRIBE: Go to http://www.witango.com/developer/maillist.taf
______________________________________________________________________
__
TO UNSUBSCRIBE: Go to http://www.witango.com/developer/maillist.taf
______________________________________________________________________
__
TO UNSUBSCRIBE: Go to http://www.witango.com/developer/maillist.taf
________________________________________________________________________
TO UNSUBSCRIBE: Go to http://www.witango.com/developer/maillist.taf