home *** CD-ROM | disk | FTP | other *** search
/ Hall of Fame / HallofFameCDROM.cdr / open / echo290.lzh / ECHODOR.BAT < prev    next >
DOS Batch File  |  1988-12-28  |  2KB  |  42 lines

  1. ECHO OFF
  2. rem
  3. rem        ECHODOR.BAT Controling batch file
  4. rem
  5. rem        You MUST put the name "ECHODOR" in your MENU5 file (Doors Menu)
  6. rem        in ALL CAPS, Preceeded and followed by a SPACE!
  7. rem
  8. rem        The first  thing we have to do is change the Current Dir to the
  9. rem        Dir with the Echodor files.
  10. rem
  11. cd C:\echodor
  12. rem
  13. rem        Now, we need all the DORINFOx.DEF files from the RBBS dir.
  14. rem
  15. copy \rbbs\dorinfo*.def
  16. rem
  17. rem        Now,  We should delete any mail packs a previous user had
  18. rem        created.  Put your download directory in place of "DRIVE:\PATH"
  19. rem        when you have done this, UnComment the next 2 lines
  20. rem
  21. rem IF EXIST DRIVE:\PATH\USERMAIL.TXT DEL DRIVE:\PATH\USERMAIL.TXT
  22. rem IF EXIST DRIVE:\PATH\USERMAIL.ARC DEL DRIVE:\PATH\USERMAIL.ARC
  23. rem
  24. rem
  25. rem         Now since RBBS will pass the node number to ECHODOR.BAT
  26. rem         on the command line, we need to run echodor passing the
  27. rem         node number.  This is how echomail figures out which
  28. rem         DORINFOx.DEF file to use.
  29. rem
  30. rem
  31. Echodor %1
  32. rem
  33. rem         Uncomment the following lines if you want to arc the mail for
  34. rem         the "download mail" option. I put in some sample paths, but you
  35. rem         will need to change them to your own dowload dir paths.
  36. rem
  37. rem ARC A C:\downloads\usermail.arc C:\downloads\usermail.TXT
  38. rem
  39. rem         Now to return to RBBS-PC...  Since Rctty.bat will call RBBS.BAT,
  40. rem         you dont need to re-call it in this batch file.
  41. CD \rbbs
  42.