中国DOS联盟

-- 联合DOS 推动DOS 发展DOS --

联盟域名:www.cn-dos.net 论坛域名:www.cn-dos.net/forum
DOS,代表着自由开放与发展,我们努力起来,学习FreeDOS和Linux的自由开放与GNU精神,共同创造和发展美好的自由与GNU GPL世界吧!

中国DOS联盟论坛
现在时间是 2026-08-10 07:58
中国DOS联盟论坛 » DOS批处理 & 脚本技术(批处理室) » XP 集成DPS的问题 查看 730 回复 2
楼 主 XP 集成DPS的问题 发表于 2008-11-09 09:43 ·  中国 福建 龙岩 移动
初级用户
积分 87
发帖 32
注册 2007-11-21 23:46
18年会员
UID 103375
性别 男
状态 离线
下面是集成后$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%
没有路径能否复制成功?
2 发表于 2008-11-09 13:19 ·  中国 重庆 电信
版主
★★★★★
积分 9,023
发帖 5,017
注册 2007-05-31 19:39
19年会员
UID 89899
性别 男
状态 离线
当前路径下的文件不需要使用绝对路径
3 发表于 2008-11-09 19:17 ·  中国 广东 电信
金牌会员
★★★★
一叶枝头,万树皆春
积分 2,564
发帖 1,127
注册 2006-12-25 22:57
19年会员
UID 74552
性别 男
状态 离线
DPS是啥?
49206C6F766520796F752067757973 54656C3A3133383238343036373837
论坛跳转: