home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
The World of Computer Software
/
World_Of_Computer_Software-02-387-Vol-3of3.iso
/
l
/
lanboot.zip
/
AUTO2.BAT
< prev
next >
Wrap
DOS Batch File
|
1992-06-03
|
982b
|
29 lines
@ECHO OFF
AIMOVE
AILANBIO/ROM_PATCH
PROMPT $P$G
VER
REM Keyboard driver only for non U.S.A. users.
REM Change XX to the proper letters.
KEYB XX,,KEYBOARD.SYS
REM Set NUMBER to the unique node number that every network card has.
SET NUMBER=????????
NET STRING/LEFT-8/RIGHT=-1 NUMBER !"NODEID"
ECHO This computer has the NODEID: %NUMBER%
REM Start an unique batch file for each diskless computer in
REM the network.
%NUMBER%
ECHO.
ECHO Error: %NUMBER%.BAT has not been found...
ECHO This is a new computer in the network (or a new network card).
SET TEMP=????????
ECHO Key in the name of this computer (maximum 8 characters).
ECHO Sample: BOB, EVE, PATRIC, PAMELA, MACHINE1, MACHINE2,...
:REPEAT
NET STRING TEMP ?"Name: "
IF .%TEMP% == . GOTO REPEAT
ECHO %NUMBER%.BAT will now be made...
ECHO>%NUMBER%.BAT START %TEMP%
ECHO Did you see any error messages? If not, then everything is OK.
ECHO Press Ctrl-Alt-Del to try again...