Bill's right. It's always safest to have your bat file change to the drive/directory you need to perform the bat commands on.
One other thought since you are doing something on E:\ ... and that might be a mapped drive. Our App Servers live on a separate box from our Web Servers so we usually do some mapping of drives at the top of our bat files since the process that Witango runs as usually doesn't have permissions to the mapped drive. This would explain why it works when you run it logged into the console as yourself but the external action does not work. ------------------- net use \\webserver\directory$ /d /y net use \\webserver\directory$ /user:dceweb\webman SecretPWD ... ... bat commands ... net use \\dceweb\lists$ /delete ------------------- [email protected] on Tuesday, August 16, 2005 at 2:34 PM -0500 wrote: >Vicky, > >Either put CD commands into your img.bat file, or put the full path to >each of the jpgs in there. e.g: > >=== >e: >cd \appfolder\images >convert -resize 25x25 in.jpg out.jpg >=== > >Bill > >Vicky Bagwalla wrote: >> Hello, >> >> >> >> I am using T2K and have an External Action with the following: >> >> >> >> Command Line (Windows and Unix) >> >> Command: E:\AppFolder\Images\img.bat >> >> >> >> The img.bat has the following: >> >> >> >> Convert resize 25x25 in.jpg out.jpg >> >> >> >> It is not executing the img.bat from what I can see. Now if I go on the >> actual server where this taf exists and go into E:\AppFolder\Images and >> run img.bat (double click) it gives me the desired result. >> >> >> >> What am I doing wrong? How do I check if it executed? What are the >> Environmental variables for and how do I use them? >> >> >> >> Tried looking at the docs but could not find anything on this action and >> have never used it before. >> >> >> >> Please help >> >> >> >> Thanks >> >> >> >> ________________________________________________________________________ >> 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 ________________________________________________________ Matt Muro [EMAIL PROTECTED] Harvard University phone: 617.998.8522 Division of Continuing Education fax: 617.495.9176 ________________________________________________________________________ TO UNSUBSCRIBE: Go to http://www.witango.com/developer/maillist.taf
