home *** CD-ROM | disk | FTP | other *** search
/ DP Tool Club 12 / CD_ASCQ_12_0294.iso / vrac / mhst230.zip / TRAPDOOR.BAT < prev    next >
DOS Batch File  |  1994-01-01  |  853b  |  46 lines

  1. echo off
  2. rem mhjump.bat
  3. rem
  4. rem %0 = trapdoor.bat, %1 = port#, %2 = baud, %3 = first name, %4 = last name,
  5. rem %5 = security, %6 = ansi(Y/N), %7 = start directory, %8 = ONLINE or LOCAL
  6. rem %9 = node#
  7. rem mark
  8. if x%8 == xLOCAL goto doslevel
  9. if x%1 == x1 goto port1
  10. if x%1 == x2 goto port2
  11. if x%1 == x3 goto port3
  12. if x%1 == x4 goto port4
  13. goto error
  14. :port1
  15. watchdg1 on > nul
  16. ctty com1
  17. goto doslevel
  18. :port2
  19. watchdg2 on > nul
  20. ctty com2
  21. goto doslevel
  22. :port3
  23. watchdg3 on > nul
  24. ctty com3
  25. goto doslevel
  26. :port4
  27. watchdg4 on > nul
  28. ctty com4
  29. :doslevel
  30. command
  31. ctty con
  32. if %8 == LOCAL goto exit
  33. if x%1 == x1 watchdg1 off > nul
  34. if x%1 == x2 watchdg2 off > nul
  35. if x%1 == x3 watchdg3 off > nul
  36. if x%1 == x4 watchdg4 off > nul
  37. goto exit
  38. :error
  39. echo 
  40. echo * MHJUMP.BAT must be called by MEGAHOST *
  41. echo 
  42. :exit
  43. rem release
  44.  
  45. 
  46.