检测Dell 机器型号、拷贝驱动、拷贝Hal文件的Script示例
REM Driver and Hal Configuration
REM Let's see which computer model you are using
echo The Model Number is %#!computer@prod_name%
If "%#*"SELECT UPPER(REPLACE(prod_name, ' ', '_')) FROM computer WHERE computer_id=%ID%"%"=="OPTIPLEX_GX520" goto GX520
REM I wasn't able to find your computer model, bye
goto Exit
:GX520
REM I will copy Drivers and HAL.dll down to this GX260 now
FIRM -recurse COPY G:/Tools/Drivers/GX520 prod:Drivers
FIRM copy G:/Tools/HAL/520/HAL.DLL prod:windows/system32
goto Exit
:Exit
exit