home *** CD-ROM | disk | FTP | other *** search
/ Simtel MSDOS - Coast to Coast / simteldosarchivecoasttocoast2.iso / rbbs_pc / rbbtic39.zip / RBBTIC.BAT < prev    next >
DOS Batch File  |  1993-03-09  |  3KB  |  93 lines

  1. echo on
  2. F:
  3. cd \bt1\in
  4.  
  5. rem The following incoming files are not to be made available to callers
  6. rem through the FMS.DIR and since, RBBTIC will not process a *.TIC 
  7. rem description file if the attached program file is not found in the
  8. rem \BINKLEY\IN subdirectory, you will copy these program files to
  9. rem a temporary subdirectory and delete them from the Binkley\In 
  10. rem sub-directory before calling RBBTIC. (NOTE: RED indicated below
  11. rem is a utility for copying files to a new directory and deleting 
  12. rem them from the original directory in one step. This utility is
  13. rem NOT included with RBBTIC.)
  14.  
  15. if exist fidonet.* RED FIDONET.* \bt1\in\tictmp
  16. if exist fidostat.* RED fidostat.* \bt1\in\tictmp
  17. if exist filebone.* RED filebone.* \bt1\in\tictmp
  18. if exist fnews*.* RED fnews*.* \bt1\in\tictmp
  19. if exist ss_areas.* RED ss_areas.* \bt1\in\tictmp
  20. if exist bbslst.* RED bbslst.* \bt1\in\tictmp
  21. if exist rbbsdiff.* RED rbbsdiff.* \bt1\in\tictmp
  22. if exist rbbslist.* RED rbbslist.* \bt1\in\tictmp
  23.  
  24. rem***********************
  25. REM Change to your directory where FMS.APP is 
  26. REM written to by RBBTIC
  27. rem***********************
  28. d:
  29. cd \rbbs\dir
  30. .
  31. rem***********************
  32. REM if a previous version of FMS.APP is found, 
  33. REM then rename it.
  34. rem***********************
  35. if exist fms4.app ren fms4.app fms5.app
  36. if exist fms3.app ren fms3.app fms4.app
  37. if exist fms2.app ren fms2.app fms3.app
  38. if exist fms1.app ren fms1.app fms2.app
  39. if exist fms.app ren fms.app fms1.app
  40. .
  41. rem************************
  42. REM change back to the directory where Tick and 
  43. REM RBBTIC will be run from
  44. rem************************
  45. f:
  46. CD \TICK
  47. rem************************
  48. REM Now run RBBTIC 
  49. rem************************
  50. copy ticky.flg f:\bt1\flags
  51. rbbtic
  52.  
  53. rem************************
  54. rem Now switch back to the TicTmp subdirectory copy or redirect
  55. rem the same program files back into the Binkley\IN subdirectory
  56. rem so TICK can toss\process them.
  57. rem************************
  58.  
  59. cd \Binkley\In\TicTtmp
  60.  
  61. if exist fidonet.* RED FIDONET.* \bt1\in
  62. if exist fidostat.* RED fidostat.* \bt1\in
  63. if exist filebone.* RED filebone.* \bt1\in
  64. if exist fnews*.* RED fnews*.* \bt1\in
  65. if exist ss_areas.* RED ss_areas.* \bt1\in
  66. if exist bbslst.* RED bbslst.* \bt1\in
  67. if exist rbbsdiff.* RED rbbsdiff.* \bt1\in
  68. if exist rbbslist.* RED rbbslist.* \bt1\in
  69. waitn 15
  70.  
  71. rem************************
  72. rem Now call TICK to toss all the program files to the appropriate 
  73. rem sub-directories.
  74. rem************************
  75.  
  76. cd \tick
  77. tick >> tic.log
  78.  
  79. rem************************
  80. rem And Now go on with the rest of the bat file as usual after you
  81. rem have called TICK.
  82. etc.
  83. etc.
  84. rem************************
  85.  
  86. .
  87. .
  88. .    
  89. .  I hope you find RBBTIC useful and look forward 
  90. .  to hearing any suggestions for improvements or 
  91. .  comments you may have. Thank you.   Sincerely, 
  92. .  David Remer.
  93.