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 >
Text File  |  1992-09-12  |  782b  |  25 lines

  1.  
  2.  Note for using the FLAG utility:
  3.  ────────────────────────────────
  4.  
  5.  FLAG has one limitation, due to DOS or my current inability to do it.
  6.  
  7.  consider THIS scenario:
  8.  
  9.  FLAG Fdready.%TASK%
  10.  FD
  11.  FLAG -Fdready.%TASK%
  12.  If Errorlevel 110 Goto MAIL
  13.  If Errorlevel  10 Goto QUIT
  14.  
  15.  
  16.  The above CANNOT be done.  Since FLAG is an external program, it exits with
  17.  it's OWN errorlevel - thus making the Mailer errorlevels UNrecognised.  I
  18.  am currently looking into a way (if at ALL possible with C language) to
  19.  grab the DOS return code from the prior program (in the above case FD) to
  20.  pass out of FLAG on a successful run.  Be AWARE of this limitation when using
  21.  FLAG in your batchfiles!  See Flag.Doc for the errorlevels it DOES exit with.
  22.  
  23.  /* end of Flag.Not */
  24.  
  25.