home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
The World of Computer Software
/
World_Of_Computer_Software-02-387-Vol-3of3.iso
/
f
/
fdu_1c3.zip
/
FLAG.NOT
< prev
next >
Wrap
Text File
|
1992-09-12
|
782b
|
25 lines
Note for using the FLAG utility:
────────────────────────────────
FLAG has one limitation, due to DOS or my current inability to do it.
consider THIS scenario:
FLAG Fdready.%TASK%
FD
FLAG -Fdready.%TASK%
If Errorlevel 110 Goto MAIL
If Errorlevel 10 Goto QUIT
The above CANNOT be done. Since FLAG is an external program, it exits with
it's OWN errorlevel - thus making the Mailer errorlevels UNrecognised. I
am currently looking into a way (if at ALL possible with C language) to
grab the DOS return code from the prior program (in the above case FD) to
pass out of FLAG on a successful run. Be AWARE of this limitation when using
FLAG in your batchfiles! See Flag.Doc for the errorlevels it DOES exit with.
/* end of Flag.Not */