中国DOS联盟论坛

中国DOS联盟

-- 联合DOS 推动DOS 发展DOS --
联盟域名:www.cn-dos.net 论坛域名:www.cn-dos.net/forum
游客 | 登录 | 注册 | 会员 | 搜索 | 中国DOS联盟
中国DOS联盟论坛
现在时间是 2026-08-10 13:03
47,811 主题排行 / 349,897 发帖 / 今日 0 篇 / 48,255 会员排行
DOS批处理 & 脚本技术(批处理室) » XP 集成DPS的问题
可打印版本  735 / 2
第1楼 zsx 发表于 2008-11-09 09:43
初级用户 发帖 32 积分 87
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%
没有路径能否复制成功?
第2楼 HAT 发表于 2008-11-09 13:19
版主 发帖 5,017 积分 9,023
当前路径下的文件不需要使用绝对路径
第3楼 everest79 发表于 2008-11-09 19:17
金牌会员 发帖 1,127 积分 2,564
DPS是啥?
[ 联系联盟系统管理团队 - 中国DOS联盟 - 标准版 ]
Sponsored by ifanr Inc | © 2001–2023