Since I already had everything worked out for xcopy, Ben's suggestion of
xxcopy was a drop-in solution. Thanks! Robert

-----Original Message-----
From: Robert Garcia [mailto:[EMAIL PROTECTED] 
Sent: Friday, January 26, 2007 6:11 PM
To: [email protected]
Subject: Re: Witango-Talk: calling xcopy

I don't use xcopy, mainly because of the power of robocopy, and I  
have used it with witango. Try downloading the windows 2003 resource  
tool kit, and use robocopy. Otherwise, seems weird.

-- 

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 3:00 PM, Robert Shubert wrote:

> Thanks everyone...
>
> My situation is just so weird...
>
> If I have a bat that contains just the word "dir" I sure enough get  
> the
> directory listing back in @@resultset
>
> If I then change nothing else but the "dir" to "xcopy" I get  
> nothing back.
> Not even the "use ? to see commands"
>
> If I do xcopy > c:\output.txt and call with dbl-click, the text  
> file fills
> with the error. If I call it with Witango I get no output.
>
> I've moved the actual xcopy app to the working directory
>
> I've used the cd \path\ at the top of the bat to set my working  
> directory
>
> I've used parameters and not used parameters
>
> I've tested that it works via dbl-clicking and calling it from a  
> cmd prompt
>
> I've set my Witango service to run as administrator
>
> I've used drive letters and UNC pathing, as well as relative paths
>
> I've done every blasted thing I can think of it is just ignores it  
> every
> time. It really looks like a permission thing, but there's no error  
> - no
> output at all. And no, it's not doing any copying either.
>
> My hypothesis is that there is some kinda weird permission thing  
> with xcopy
> (other command lines work like dir, md, erase)
>
> I'm going to check out a few alternative apps that might do the trick,
> thanks for the suggestions.
>
> Robert
>
>
> -----Original Message-----
> From: Scott Cadillac [mailto:[EMAIL PROTECTED]
> Sent: Friday, January 26, 2007 5:34 PM
> To: [email protected]
> Subject: RE: Witango-Talk: calling xcopy
>
> 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
>
> ______________________________________________________________________ 
> __
> 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