Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Path to a program
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01151910
Message ID:
01152166
Views:
55
This message has been marked as a message which has helped to the initial question of the thread.
>
>The Help for WzZip says:
>
>Using return codes (errorlevels)
>
>WZZIP and WZUNZIP will in most cases return a nonzero errorlevel in the event of a serious error; otherwise, an errorlevel of 0 is returned. You can use these return codes in batch files and other automated processing. For example:
>
>wzzip filename.zip *.doc
> If ErrorLevel 1 Goto ErrMsg
>
> Echo No Known Errors
>
> Goto Exit
>
> :ErrMsg
>
> Echo ***SERIOUS ERROR DETECTED***
> :Exit
>

Naomi,
use this as a template for your program. replace "wzzip filename.zip *.doc" with your command line and ECHO out to a file that you can inspect for completion status.
Previous
Reply
Map
View

Click here to load this message in the networking platform