home *** CD-ROM | disk | FTP | other *** search
/ ProfitPress Mega CDROM2 …eeware (MSDOS)(1992)(Eng) / ProfitPress-MegaCDROM2.B6I / BBS / DOORS / ECHO310.ZIP / ECHODNLD.BAT < prev    next >
Encoding:
DOS Batch File  |  1991-04-03  |  1.0 KB  |  33 lines

  1. rem
  2. rem  This file is started if the EchoDor program should exit with
  3. rem  an errorlevel status of 3 and the user has selected [D]ownload.
  4. rem
  5. rem  5 parameters are passed to this file
  6. rem
  7. rem  parameter 1 = the letter the user typed for the protocol
  8. rem            2 = the node number (may not be needed)
  9. rem            3 = the port number
  10. rem            4 = the baud rate
  11. rem            5 = the name of the mail file
  12. rem
  13. rem  use these parameters to call the correct protocol
  14. rem
  15. rem -----------------------------------------------------------------
  16. rem
  17. rem
  18. rem   Now we'll check the letter the user typed in and call the protocol
  19. rem
  20. if %1 == X dsz port %3 sx %5
  21. if %1 == Y dsz port %3 sb %5
  22. if %1 == Z dsz port %3 sz %5
  23. rem
  24. rem   Now we'll erase the downloaded mail file
  25. rem
  26. erase %5
  27. rem
  28. rem   Finally, lets get EchoDor going again -- you'd have to put the
  29. rem     batch file name needed here.  Be sure that you include the /R
  30. rem     option to allow EchoDor to begin in "Restart" mode.
  31. rem
  32. EchoDoor %2 /R
  33.