@echo off
rem LANtastic  Version 6.00  installed 98/12/04 10:44:57
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=LANCARD_NIF
AILANBIO @STARTNET.CFG

REDIR THASAN02 @STARTNET.CFG

IF EXIST NOSHARE GOTO :NOSHARE
SERVER C:\LANTASTI.NET @STARTNET.CFG
NET LOGIN \\THASAN02
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 USE LPT1: \\THASAN02\@PRINTER
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 \
