Vicky,

When you double-click it, you are "in" the folder, and it is your
current directory.

However, when it is executed by an external action, the current
directory is something else, like c:\windows, or c:\windows\system32

The E: and CD commands make the images folder current no matter how the
file is started.

Bill

Bill Downall 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
> 
> 

________________________________________________________________________
TO UNSUBSCRIBE: Go to http://www.witango.com/developer/maillist.taf

Reply via email to