Hi Robert, > you also can't pass command line arguments to external program. so > the technique is, use a write action to create a bat file of what you > want, then RUN that as external.
Actually.... You can have just one static bat file (Write Action not required), and use the External Action environment variable fields to pass your command line arguments in. Example: you have two environment variables named copy1 and copy2, then your bat file would have: XCOPY "%copy1%" "%copy2%" Hope that helps. ~~~~~~~~~~~~~~~~~~~~ Scott Cadillac (403) 254-5002 [EMAIL PROTECTED] XML-Extranet P.O. Box 69006 RPO Bridlewood SW Calgary, Alberta Canada T2Y 4T9 http://www.xmlx.net/ ~~~~~~~~~~~~~~~~~~~~ > -----Original Message----- > From: Robert Garcia [mailto:[EMAIL PROTECTED] > Sent: Friday, January 26, 2007 3:22 PM > To: [email protected] > Subject: Re: Witango-Talk: calling xcopy > > you also can't pass command line arguments to external program. so > the technique is, use a write action to create a bat file of what you > want, then RUN that as external. Also, be explicit with the directory > references. > > -- > > 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 Jan 26, 2007, at 1:12 PM, Robert Shubert wrote: > > > Does anybody no why xcopy wouldn't work properly in a batch file > > when it's > > called by Witango as an external? The batch file functions as > > expected if I > > double-click it, but when Witango 5.5 calls it, the xcopy function > > is just > > glanced over. This is on Windows server 2003. Thanks, Robert > > > > ______________________________________________________________________ > > __ > > 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
