下面是集成后$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%
没有路径能否复制成功?