谁能提供一个usercmd.bat 文件!

谁能提供一个usercmd.bat 文件! 小弟的PXE无盘的usercmd.bat文件坏了,谢谢!

PATH %PATH%;C:\WINDOWS\LITENET
rem Put QNetName.exe in your path and uncomment ‘rem QNetName.exe’
rem and ‘rem call QNBName.bat’ if you want to use DHCP system on multiple clients.
rem Please read the associated documentation to know how to use QNetName
QNetName.exe
call %TEMP%\QNBName.bat

rem Please read the associated documentation to know how to use QUserMan
QUserMan %HOME%

rem Put QSetBD.exe in your path and uncomment ‘rem QSetBD.exe’
rem if you want to make the system think it booted from disk %DRIVE%.
rem Please read the associated documentation to know how to use QSetBD
QSetBD %DRIVE%

rem the next line will perform auto logon feature if TweakUI is installed
rem in windows system folder and if QAUTOLOG created A:\WINBOOT\QAUTOLOG.REG file
if exist %WINDIR%\SYSTEM\TweakUI.CPL if exist a:\winboot\qautolog.reg regedit a:\winboot\qautolog.reg

rem Put QRestAll.exe in your path and uncomment the next line
rem if you want to use floppy drive and IDE devices with intel dosundi
QRestAll

choice /C:YN /T:Y,03 Hit N and Ctrl-C not to launch Windows (stop the batch)
if errorlevel 2 pause
qvmem s: %server% %username%
%windir%\win.com

以前用INTEL PXE PDK做无盘网时,我是将倒数这两句删除的:
choice /C:YN /T:Y,03 Hit N and Ctrl-C not to launch Windows (stop the batch)
if errorlevel 2 pause

我的更简单了。

PATH %PATH%;C:\WINDOWS\LITENET
QNetName.exe
call %TEMP%\QNBName.bat

if exist %WINDIR%\SYSTEM\TweakUI.CPL if exist a:\winboot\qautolog.reg regedit a:\winboot\qautolog.reg
C:\WINDOWS\Freemem.com

%windir%\win.com

blackfancy您的为什么这样简单都可以,我的为什么不可以。
PATH %PATH%;C:\WINDOWS\LITENET
use QNetName
QNetName.exe
call %TEMP%\QNBName.bat
QUserMan %HOME%
DRIVE%.
QSetBD %DRIVE%
A:\WINBOOT\QAUTOLOG.REG file
if exist %WINDIR%\SYSTEM\TweakUI.CPL if exist a:\winboot\qautolog.reg regedit a:\winboot\qautolog.reg
Qvmem S: %server% %username%
FREEMEM
%windir%\win.com

这个要配合启动镜像一起做的。如果你确实想要,可以加我的QQ:69243578