Or you could use LAUNCH to run a DOS command-file CMD file with its own
errorlevel checking...
bd

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

> 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