home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
The World of Computer Software
/
World_Of_Computer_Software-02-386-Vol-2of3.iso
/
c
/
chk4user.zip
/
BOARD.BAT
next >
Wrap
DOS Batch File
|
1993-01-19
|
944b
|
45 lines
@echo off
c:
cd\pcb1
if exist event.bat rename event.bat event.sys >nul
if exist remote.bat rename remote.bat remote.sys >nul
if exist door.bat del door.bat >nul
recycle >NUL
if errorlevel 1 goto runpcb
copy c:\pcb\prodoor c:\pcb1\door.bat >nul
door N
:runpcb
if exist $door.bat del $door.bat >nul
if exist users.sys pcb145/key:open;prodoor^M
if exist door.sys pcb145/key:open;prodoor^M
rem ***************************************************************
CHK4USER
IF ERRORLEVEL 1 GOTO END
IF ERRORLEVEL 0 GOTO PROLOGON
rem ***************************************************************
:PROLOGON
c:
cd\pcb1
PROLON PROLON.CNF C:\PCB1 %1 %2
if exist door.bat door
if exist remote.bat remote
if exist event.bat event
if exist endpcb goto end
board
goto end
:end
cls
if exist endpcb del endpcb >nul
rem echo Type BOARD to restart System
:exit
rem ***** Load Frontdoor Mailer ******
cd\fd
runfd