![]() |
中国DOS联盟-- 联合DOS 推动DOS 发展DOS --联盟域名:www.cn-dos.net 论坛域名:www.cn-dos.net/forum |
| 游客 | 登录 | 注册 | 会员 | 搜索 | 中国DOS联盟 |
|
中国DOS联盟论坛 现在时间是 2026-08-05 09:13 |
共 48,037 主题排行 / 350,122 发帖 / 今日 0 篇 / 48,251 会员排行 |
| DOS批处理 & 脚本技术(批处理室) » 请高手帮我解释下程序 |
| 可打印版本 711 / 0 |
| 第1楼 sakurafeng | 发表于 2007-07-10 16:18 |
| 新手上路 发帖 1 积分 4 | |
|
请高手帮我解释下程序 这个P程序~我中间和结尾不大懂尤其是
dgif %TestDir%\gif\ncdver.gif 640 4这句~希望高手帮我解释下~谢谢了 copy /y %testdrive%\%bp_dir%\*.* 复制文件/y是一个参数~默认全部替换~不用手动打YES和NO~ hdinfo /f:standard.ini if errorlevel 3 goto NotVer 如果返回值是3 跳转到NOTVER程序段 if errorlevel 2 goto Errplace 如果返回值是2 跳转到Errplace程序段 if errorlevel 0 goto CDFsh 如果返回值是0 跳转到CDfsh程序段 goto Others :not ver @echo Not Flash CDROM Version! 显示Not Flash CDROM Version! dgif %TestDir%\gif\ncdver.gif 640 4 goto notver :errplace @echo not flash cdrom version! dgif %TestDir%\gif\errplace.gif 640 4 goto errplace :CDFsh if not exist cdf12.bat goto 96_end 如果没有指定的cdf12.bat,跳到:96_end程序段。 call cdf12.bat 调用名为cdf12.bat批处理程序 %testdrive% if not exist \cdflash\%cdf12%\cdflash.bat goto notver cd\cdflash\%cdf12% call cdflash.bat 调用另外一个批处理程序 名为cdflash.bat :96_end h: cd h:\ proces /s 100 pass proces /s 98 pass proces /s 97 pass proces /s 96 pass ─────────────────── 版务记录 ──────────────────── 执行:lxmxn 标题:请高手帮我解释下程序 说明:因标题表述过于模糊,不便于论坛的搜索和管理,请在三日内修改标题,否则扣除2点积分 参考:http://www.cn-dos.net/forum/viewthread.php?tid=7326&fpage=1 http://community.csdn.net/IndexPage/SmartQuestion.aspx ─────────────────── 版务记录 ──────────────────── [ Last edited by lxmxn on 2007-7-10 at 05:46 PM ] |
|
|
[ 联系联盟系统管理团队 -
中国DOS联盟 -
标准版 ] Sponsored by ifanr Inc | © 2001–2023 |