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 >
DOS Batch File  |  1992-06-03  |  982b  |  29 lines

  1. @ECHO  OFF
  2. AIMOVE
  3. AILANBIO/ROM_PATCH
  4. PROMPT $P$G
  5. VER
  6. REM  Keyboard driver only for non U.S.A. users.
  7. REM  Change XX to the proper letters.
  8. KEYB  XX,,KEYBOARD.SYS
  9. REM  Set NUMBER to the unique node number that every network card has.
  10. SET  NUMBER=????????
  11. NET  STRING/LEFT-8/RIGHT=-1 NUMBER !"NODEID"
  12. ECHO  This computer has the NODEID: %NUMBER%
  13. REM  Start an unique batch file for each diskless computer in
  14. REM  the network.
  15. %NUMBER%
  16. ECHO.
  17. ECHO  Error: %NUMBER%.BAT has not been found...
  18. ECHO  This is a new computer in the network (or a new network card).
  19. SET  TEMP=????????
  20. ECHO  Key in the name of this computer (maximum 8 characters).
  21. ECHO  Sample: BOB, EVE, PATRIC, PAMELA, MACHINE1, MACHINE2,...
  22. :REPEAT
  23. NET  STRING  TEMP  ?"Name: "
  24. IF  .%TEMP%  ==  .  GOTO  REPEAT
  25. ECHO  %NUMBER%.BAT  will now be made...
  26. ECHO>%NUMBER%.BAT  START  %TEMP%
  27. ECHO  Did you see any error messages? If not, then everything is OK.
  28. ECHO  Press Ctrl-Alt-Del to try again...
  29.