home *** CD-ROM | disk | FTP | other *** search
/ Beijing Paradise BBS Backup / PARADISE.ISO / software / BBSDOORW / RADCD105.ZIP / EXAMPLE.TXT next >
Encoding:
Text File  |  1996-01-28  |  1.8 KB  |  57 lines

  1.                        -::-  BATCH FILE EXAMPLES -::-
  2.  
  3.    Included here are example setups that users have contributed, on how
  4.    they have setup RADCD to run on their systems.
  5.  
  6.    If you are having a particular problem, perhaps something here may
  7.    help, and Im sure any one here would be willing to clarify their
  8.    setup, and help you out via netmail.
  9.  
  10. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  11.  
  12.  From : Rod Aubertin  1:222/30
  13.  Subj : RADCD call placement in Shell To Mailer Mode
  14.  
  15. :START
  16.    REM               Start the main batch file loop.
  17.    CLS
  18.    ECHO STARTING REMOTEACCESS NODE %1 AND SHELLING TO THE MAILER
  19.    CD \RA\NODE%1
  20.    \RA\RA -M\FD1\FD.EXE*M -E11 -N%1
  21.    REM               After RA exits, trap the errorlevel.
  22.      
  23. :AFTERRA
  24.    if errorlevel  11 goto RADCD
  25.    if errorlevel  10 goto QUIT
  26.    if errorlevel   5 goto NETMAIL      
  27.    if errorlevel   4 goto NETMAIL
  28.    if errorlevel   3 goto NETMAIL
  29.    if errorlevel   2 goto localon        
  30.    if errorlevel   0 goto RADCD
  31.  
  32. :netmail
  33.    n:
  34.    cd \semaphor
  35.    semafore ? n:\ra\semapfor\mailscan.nd1
  36.    cd \fastecho
  37.    fastecho scan -A
  38.    cd \ra
  39.    goto radcd
  40.  
  41. :radcd
  42.    n:
  43.    n:\carrier\radcd
  44.    goto start
  45.  
  46. To explain the flow of the calls is when a user exits the board RA will exit
  47. with either errorlevel 11 (normal exit), 5 to 3 if the user entered Netmail,
  48. Echomail or both.  In so calling the RADCD label the program will check the log
  49. file and carry out it's task.
  50.  
  51. It seems like a round about way of getting the program to work in this mode but
  52. I looked at the thought of switching to "Mailer calling the BBS" and I came to
  53. the conclusion that it would have to be accomplished in the same manner as in
  54. "Shell to Mailer Mode"
  55.  
  56. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  57.