Thanks Bill, 



 I did not realize that ZIP would return "fail/succeed" status to the error 
variable. 

It looks like success = 0 and fail = 1? 



Although I will get the pop up of the command window, it is brief. 



Thanks again, 

-Bob 







----- Original Message ----- 
From: "Bill Downall" <[email protected]> 
To: "RBASE-L Mailing List" <[email protected]> 
Sent: Thursday, July 23, 2009 1:30:44 PM GMT -06:00 US/Canada Central 
Subject: [RBASE-L] - Re: MOVE command?? 

Bob, 


This should work: 


ZIP cmd.exe /c MOVE G:\EDI\*.850 G:\Processed\ 

Bill 



On Thu, Jul 23, 2009 at 2:20 PM, < [email protected] > wrote: 






Turbo V8 



I have looked through help and did not see a similar function, but thought it 
worth asking. 



Is there a command to MOVE a file and that  it would update the error variable? 



I often have to move files after  processing.  I currently code this process 
with COPY 

and ERASE commands.  It would be nice if a MOVE command was available and one 

could then check the error variable for failure etc. 



Copying a file is easy, verifying that it copied can be done but is a bit more 
complex.  Especially 

if you are doing a wild card string.   



The desire is the following : 



MOVE G:\EDI\*.850   G:\Processed\ 

IF vERR <> 0 then 

... do stuff 

Endif 



Thanks, 

-Bob 



  

Reply via email to