Board logo

标题: XP 集成DPS的问题 [打印本页]

作者: zsx     时间: 2008-11-9 09:43    标题: XP 集成DPS的问题

下面是集成后$OEM$下的DP_Install_Tool.cmd
@Echo off
REM Written by Jeff Herre AKA OverFlow rev08.04.21
REM A Script to use MicroSofts DPinst.exe with the DriverPacks.
REM Help and Support available at http://forum.DriverPacks.net  
Color 9f

Echo.
Echo Searching current drive for the DriverPacks...
Rem fast detect. (is it the current drive?)
FOR /f "delims=: tokens=1" %%i in ("%~dp0") do SET CDDRIVE=%%i:
IF exist %CDDRIVE%\$OEM$\bin\un7zip.exe GoTo M2Found

:M2Found
Echo.
Echo Extracting the DriverPacks now...
%CDDRIVE%\$OEM$\bin\un7zip.exe %CDDRIVE%\$OEM$\DP*.7z %SystemDrive%\
%CDDRIVE%\$OEM$\bin\un7zip.exe %CDDRIVE%\$OEM$\bin\*.7z %SystemDrive%\
COPY /Y %CDDRIVE%\$OEM$\bin\DPsFnshr.ini %SystemDrive%\
COPY DPINST.exe %SystemDrive%
COPY DPInst.xml %SystemDrive%
Echo.
Echo Running MicroSoft DPinst.exe now!
%SystemDrive%\DPINST.exe /c /s
Echo.
Echo Running the DriverPacks.net Finisher now!
%SystemDrive%\DPsFnshr.exe
EXIT
其中
COPY DPINST.exe %SystemDrive%
COPY DPInst.xml %SystemDrive%
没有路径能否复制成功?
作者: HAT     时间: 2008-11-9 13:19
当前路径下的文件不需要使用绝对路径
作者: everest79     时间: 2008-11-9 19:17
DPS是啥?