2008-06-19 18:27:05 +00:00
|
|
|
@echo off
|
2008-09-21 17:08:49 +00:00
|
|
|
echo Initializing, please wait.
|
2008-06-19 18:27:05 +00:00
|
|
|
wpeinit
|
2008-10-30 17:29:05 +00:00
|
|
|
ping -n 60 127.0.0.1 > NUL 2>&1
|
2008-06-19 18:27:05 +00:00
|
|
|
md \temp
|
|
|
|
for /f "delims=: tokens=2" %%c in ('ipconfig /all ^|find "DHCP Server"') do set XCATD=%%c
|
|
|
|
for /f %%c in ('echo %XCATD%') do set XCATD=%%c
|
|
|
|
net use i: \\%XCATD%\install
|
|
|
|
for /f "delims=: tokens=2" %%c in ('ipconfig ^|find "IPv4 Address. . ."') do set NODEIP=%%c
|
|
|
|
for /f %%c in ('echo %NODEIP%') do set NODEIP=%%c
|
2008-09-18 18:52:06 +00:00
|
|
|
copy i:\autoinst\%NODEIP%.cmd x:\xcat\autoscript.cmd
|
|
|
|
call x:\xcat\autoscript.cmd
|
2008-06-20 21:28:57 +00:00
|
|
|
wpeutil reboot
|