home *** CD-ROM | disk | FTP | other *** search
/ ftp.wwiv.com / ftp.wwiv.com.zip / ftp.wwiv.com / pub / MISC / TGFAQ_A2.ZIP / FAQ2.TXT < prev    next >
Text File  |  1998-08-15  |  5KB  |  189 lines

  1. Errorlevel Method- FD 2.12 and below only                      15AUG98
  2.  
  3. Hello!  For those of you using FD2.12 and below, this method may be easier
  4. to start with. It's basically one big batch file and you dont have to pass
  5. off to other batch files.
  6.  
  7.       1.  Go into FD config, and make sure you have assigned a number to
  8.       each baud rate connecting to your system.  Use the same numbers I
  9.       have below in the 'frodo.bat' file if you wish or swap them to others
  10.       and match them in the 'frodo.bat' file to the new ones.  It will be
  11.       easier and safe to use the ones I post.
  12.  
  13.       2.  Add the following to your 'frodo.bat' file or just replace your
  14.       old one with this example then add in what you need for your setup.
  15.  
  16. ;---- begin FRODO.BAT----
  17. @Echo off
  18. c:
  19. cd \fd
  20. :Start
  21.  
  22.    Cd\fd
  23. fd
  24.    If ERRORLEVEL 253 Goto Mail_Out
  25.    If ERRORLEVEL 252 Goto Make_Node
  26.    If ERRORLEVEL 200 Goto FB100
  27.    If ERRORLEVEL 046 Goto 2880_Baud
  28.    If ERRORLEVEL 045 Goto 2640_Baud
  29.    If ERRORLEVEL 044 Goto 24000_Baud
  30.    If ERRORLEVEL 043 Goto 2160_Baud
  31.    If ERRORLEVEL 042 Goto 1920_Baud
  32.    If ERRORLEVEL 041 Goto 1680_Baud
  33.    If ERRORLEVEL 040 Goto 1440_Baud
  34.    If ERRORLEVEL 039 Goto 12_Baud
  35.    If ERRORLEVEL 038 Goto 9600_Baud
  36.    If ERRORLEVEL 037 Goto 7200_baud
  37.    If ERRORLEVEL 036 Goto 4800_baud
  38.    If ERRORLEVEL 035 Goto 2400_Baud
  39.    If ERRORLEVEL 034 Goto 1275_baud
  40.    If ERRORLEVEL 033 Goto 1200_Baud
  41.    If ERRORLEVEL 032 Goto 300_Baud
  42.  
  43. Goto end
  44.  
  45. :Mail_Out     ; Gecho 1.11+ specific, adapt as needed!
  46. c:            ; other examples for other tossers later in
  47. cd c:\fd      ; FAQ
  48. AT H1 1
  49. GEcho toss -NOMGR
  50. GEcho scan
  51. GEcho MGR
  52. MBUTIL pack -renumber -link -purge
  53. Goto Start
  54.  
  55. :Make_Node
  56. If Exist c:\fd\file\nodediff.* Goto Node_Here
  57. Goto Start
  58.  
  59. :Node_Here
  60. Copy c:\fd\file\nodediff.* c:\fd\nodelist
  61. cd c:\fd\nodelist
  62. editnl 
  63. cd c:\fd
  64. fdnc /f
  65. Goto Start
  66.  
  67. :FB100        ;external event in FD to do 'stuff' as needed
  68. CD \tg\FFS    ;for online games and other items needed nightly
  69. FISHMANT      ; specific to FFS online game
  70. CD \FD
  71. mbutil pack -renumber -link -purge
  72. cd \tg
  73. INDEX SORT ALL      ;TG Maintenance
  74. INDEX BUILD ALL     ;TG Maintenance
  75. cd \fd
  76. call tickout.bat    ;Tosses filebone. See FAQ #3 for example of it
  77. Goto Start
  78.  
  79. :2880_baud       ;here begins the connection sequence
  80. cd \tg
  81. Telegard -b28800 -q
  82. Goto Mail_test
  83.  
  84. :2640_baud
  85. cd \tg
  86. Telegard -b26400 -q
  87. Goto Mail_test
  88.  
  89. :24000_baud
  90. cd \tg
  91. Telegard -b24000 -q
  92. Goto Mail_test
  93.  
  94. :2160_Baud
  95. cd \tg
  96. Telegard -b21600 -q
  97. Goto Mail_test
  98.  
  99. :1920_Baud
  100. cd \tg
  101. telegard -b19200 -q
  102. Goto Mail_Test
  103.  
  104. :1680_Baud
  105. cd \tg
  106. Telegard -b16800 -q
  107. Goto Mail_Test
  108.  
  109. :1440_Baud
  110. cd \tg
  111. Telegard -b14400 -q
  112. goto mail_test
  113.  
  114. :12_Baud
  115. cd \tg
  116. Telegard -b12000 -q
  117. Goto Mail_test
  118.  
  119. :9600_Baud
  120. cd \tg
  121. telegard -b9600 -q
  122. Goto Mail_Test
  123.  
  124. :7200_Baud
  125. cd \tg
  126. Telegard -b7200 -q
  127. Goto Mail_Test
  128.  
  129. :4800_baud
  130. cd \tg
  131. Telegard -b4800 -q
  132. Goto Mail_Test
  133.  
  134. :2400_Baud
  135. cd \tg
  136. telegard -b2400 -q
  137. Goto Mail_Test
  138.  
  139. :1275_Baud
  140. cd \tg
  141. Telegard -b1275 -q
  142. Goto mail_test
  143.  
  144. :1200_Baud
  145. cd \tg
  146. telegard -b1200 -q
  147. Goto Mail_Test
  148.  
  149. :300_Baud
  150. cd \tg
  151. telegard -b300 -q
  152. Goto Mail_Test
  153.  
  154. :Mail_Test
  155. If NOT Exist c:\TG\ECHOMAIL.TG# goto Start
  156. del c:\TG\ECHOMAIL.TG#
  157. Goto Mail_Out
  158.                              ; note TG# means TGJ for Jam or TGS for Squish
  159.  
  160.  
  161. :End          
  162. ---end FRODO.BAT----
  163.  
  164. Now that was a big 'frodo.bat' file!  
  165.  
  166. For informational purposes, here is a rundown of some of the lines you may not
  167. be familiar with:
  168.   AT H1 1 -  This is a common software which is called AT.COM and manipulates
  169.   your modem.  In this case, it is taking a modem on Com1, offline.  Depending
  170.   on your modem brand, you may not need an extra utility to do this.  Both FD
  171.   and TG have the capability of taking the modem offline for you.  It is there
  172.   only for assistance of those sysops who's modems wont stay offline with FD's
  173.   codes.
  174.  
  175.   EDITNL - This is one of the many nodediff merging softwares on the market.
  176.   Depending on your version, the addition of the /KILL switch, will also
  177.   delete the old nodediffs.  It was included only as an example, and you
  178.   should use whatever you find at a local dial.  Mergenl is widely available
  179.   and does the same thing.
  180.  
  181.   MBUTIL - Gecho specific packer for message bases.  See the 3rd FAQ for other
  182.   examples of tossing/packing sequences you may use for your needs.
  183.  
  184. End part 2.
  185.                                  xxcarol
  186.                                  TGbeta Norfolk
  187.  
  188.  
  189.