home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
The Education Master 1994 (4th Edition)
/
EDUCATIONS_MASTER_4TH_EDITION.bin
/
files
/
commadio
/
megahost
/
mhst202b.exe
/
TRAPDOOR.BAT
< prev
next >
Wrap
DOS Batch File
|
1992-11-13
|
853b
|
46 lines
echo off
rem mhjump.bat
rem
rem %0 = trapdoor.bat, %1 = port#, %2 = baud, %3 = first name, %4 = last name,
rem %5 = security, %6 = ansi(Y/N), %7 = start directory, %8 = ONLINE or LOCAL
rem %9 = node#
rem mark
if x%8 == xLOCAL goto doslevel
if x%1 == x1 goto port1
if x%1 == x2 goto port2
if x%1 == x3 goto port3
if x%1 == x4 goto port4
goto error
:port1
watchdg1 on > nul
ctty com1
goto doslevel
:port2
watchdg2 on > nul
ctty com2
goto doslevel
:port3
watchdg3 on > nul
ctty com3
goto doslevel
:port4
watchdg4 on > nul
ctty com4
:doslevel
command
ctty con
if %8 == LOCAL goto exit
if x%1 == x1 watchdg1 off > nul
if x%1 == x2 watchdg2 off > nul
if x%1 == x3 watchdg3 off > nul
if x%1 == x4 watchdg4 off > nul
goto exit
:error
echo
echo * MHJUMP.BAT must be called by MEGAHOST *
echo
:exit
rem release