General information
Category:
Coding, syntax & commands
>
>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
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only