home *** CD-ROM | disk | FTP | other *** search
/ ftp.wwiv.com / ftp.wwiv.com.zip / ftp.wwiv.com / pub / EVENTS / MEVENT.ZIP / DO_1040.BAT < prev    next >
DOS Batch File  |  1992-08-22  |  1KB  |  26 lines

  1. REM   This is an example of the type of batch files that can be used to
  2. REM   CALL VARIOUS places.  Because the W1040.FLG is set in the BEGIN
  3. REM   Day event, your board will call once per day.
  4.  
  5. if not exist W1040.FLG goto QUIT      REM if flag is not there stop
  6. network /N1040 /A1 /P512-631-5841 /S19200
  7.  
  8. REM  This assumes that the WWIVnet data files are in \DATA or as
  9. REM  defined in CONFIG.DAT.  See docs re use in multi-network environment.
  10.  
  11. REM  Note that the node number follows the /N command
  12. REM  Note that the abnormal errorlevel number if defined after /A command
  13. REM  Note that the full phone number should be used even if it is a local
  14. REM       call
  15. REM  Note that the maximum baud rate or locked comport speed follows the
  16. REM       /S for speed.
  17.  
  18. if errorlevel 1 goto QUIT         REM  Unsuccessful call including a busy
  19. if errorlevel 0 del W1040.FLG     REM  Success....delete the flag
  20. if errorlevel 0 network1          REM  Some redundancy here to avoid trouble
  21. if exist .\data\bbslist.51* network3 Y  REM  AN UPDATE was RECEIVED
  22. if errorlevel 0 network2
  23. if errorlevel 0 network1
  24.  
  25. :QUIT
  26.