Metropoli BBS
VIEWER: startnet.bat MODE: TEXT (ASCII)
@echo off
rem LANtastic  Version 6.00  installed 94/05/04 14:50:04
rem (for DOS)

C:
cd C:\LANTASTI

SET LAN_CFG=C:\LANTASTI

rem If LANtastic is disabled, skip everything.
IF EXIST DISABLED GOTO :STARTNET_DONE

@echo ===== Begin LANtastic configuration =====

PATH C:\LANTASTI;%PATH%
SET LAN_DIR=C:\LANTASTI.NET

LOADHIGH AI-NDIS BIND_TO=SMC8000_NIF
AILANBIO @STARTNET.CFG

REDIR TONY @STARTNET.CFG

IF EXIST NOSHARE GOTO :NOSHARE
SERVER C:\LANTASTI.NET @STARTNET.CFG
NET LOGIN \\TEST
GOTO :CONTINUE

:NOSHARE
@echo LANtastic server was installed but turned off.

:CONTINUE

rem If CONNECT.BAT exists, run it to set up connections.
IF EXIST CONNECT.BAT GOTO :CONNECT

rem Otherwise set up connections specified during install.
NET LPT TIMEOUT 10
GOTO :CONNECT_DONE

:CONNECT
@echo Setting up LANtastic connections from CONNECT.BAT
rem Build CONNECT.BAT like this: "NET SHOW/BATCH > C:\LANTASTI\CONNECT.BAT"
rem   (or run the batch file SETNET.BAT)
call CONNECT.BAT

:CONNECT_DONE
NET POSTBOX

@echo ===== End LANtastic configuration =====

:STARTNET_DONE
cd \
[ RETURN TO DIRECTORY ]