home *** CD-ROM | disk | FTP | other *** search
/ CD-ROM Aktief 1995 #3 / CDA3.iso / comm / ts3m.zip / MREMOTE.BAT < prev    next >
DOS Batch File  |  1995-01-04  |  1KB  |  95 lines

  1. @echo off
  2. rem Tue  12-13-1994  09:19:01 new version
  3. rem
  4. :start
  5. mnu menu "t:Remote matters"  "Run Remote" "Call" "Setup calls" "Transfers" "Hangup" "Unload" "Help" "Exit" nc %1
  6. if errorlevel == 8 goto :end
  7. if errorlevel == 7 goto :help
  8. if errorlevel == 6 goto :unload
  9. if errorlevel == 5 goto :hangup
  10. if errorlevel == 4 goto :transfers
  11. if errorlevel == 3 goto :setup
  12. if errorlevel == 2 goto :call
  13. if errorlevel == 1 goto :remote
  14. goto :end
  15.  
  16. :remote
  17. cls
  18. tsr
  19. pause
  20. goto :start
  21.  
  22. :call
  23. telefile
  24. rem scomm -d
  25. rem pause
  26. goto :start
  27.  
  28. :setup
  29. telefile
  30. rem SCOMM
  31. goto :start
  32.  
  33. :hangup
  34. cls
  35. echo  Hanging up
  36. rem hangup
  37. dtr COM1: off
  38. echo ath0 >COM1
  39. goto :start
  40.  
  41. :transfer
  42. telefile
  43. goto :start
  44.  
  45. :unload
  46. cls
  47. echo .
  48. echo .              Telling both tsh and tsr to unload from memory.
  49. echo .
  50. tsh u
  51. tsr u
  52. rem pause
  53. goto :start
  54.  
  55. :help
  56. mnu -readme
  57. goto :start
  58.  
  59. :dirlist
  60. cls
  61. dir/w
  62. pause
  63. goto :start
  64.  
  65. :phone
  66. rem generic phone menu
  67. cls
  68. scomm -d
  69. goto :start
  70.  
  71. :reset
  72. rs232off
  73. rem   a surprising number of pcs 'go wonky' on the second and successive
  74. rem   uses per day.
  75. rem   550reset  to reset 16550x chips
  76. 550reset
  77. goto :start
  78.  
  79. :porttest
  80. portest
  81. goto :start
  82.  
  83. :modem
  84. cls
  85. echo .
  86. echo .  a minimal reset
  87. echo .
  88. rem async  atz
  89. echo   atz >COM1
  90. goto :start
  91.  
  92. :end
  93. tsmenu.bat
  94. rem   end
  95.