CODE: [Copy to clipboard]
@echo off
LH Smartdrv 4088 4088 >NUL
recur
cls
:Menu
call w.bat box @ISO.bat:WMenu
if errorlevel 100 goto exit
if errorlevel 3 goto Rebt
if errorlevel 2 goto exit
:ISO1
echo :list " 请选择ISO光盘镜像文件的所在盘 "[x]>%temp%\tmp.txt
func -a9 >>%temp%\tmp.txt
call w.bat list @%temp%\tmp.txt:list
if errorlevel 100 goto Menu
if "%wbat%"=="" goto Menu
set Spath=%wbat%:\
echo 正在搜索 %Spath%盘里的光盘镜像文件,请耐心等待...
echo :S_dir " 请选择光盘镜像文件 " [x]>%temp%\tmp.txt
dir %Spath%*.ISO /b /s >>%temp%\tmp.txt
type %temp%\tmp.txt|find /i "ISO"
if errorlevel 1 goto NOISO
cls
call w.bat list @%temp%\tmp.txt:S_dir
if errorlevel 100 goto ISO1
if "%wbat%"=="" goto ISO1
set Sfile=%wbat%
set p=1
:ISO2
if "%p%"=="" goto ISO1
:ISO3
SHSUCDHD /F:%Sfile%
SHSUCDX /D:SHSU-CDH,Z
if errorlevel 1 goto exit
goto end
:NOISO
cls
call w.bat box @ISO.bat:WNOISO
if errorlevel 100 goto ISO1
if errorlevel 1 goto ISO1
:WNOISO " 【ISO光盘镜像文件安装向导】 " [x]
没有找到任何ISO光盘镜像文件,请"确定"后重新选择.
[ 确定(&O) ]
::
:wMenu " 【ISO光盘镜像文件安装向导】"[x]
※※※※※※※※※※※※※※※※※※※※※※※※※
※ ※
※ [ 1. 启动ISO光盘镜像安装向导] ※
※ ※
※ [ 2. 退出 MS-DOS 状态 ] ※
※ ※
※ [ 3. 重新启动电脑 ] ※
※ ※
※ ※
※ ★★ 制作: 蒙良德 ★ 2003.06.11 ★★ ※
※==============================================※
※※※※※※※※※※※※※※※※※※※※※※※※※
::
:Rebt
reboot.com
:end
set Sfile=
set Spath=
set p=
set wbat=
if exist %temp%\tmp.txt del %temp%\tmp.txt
CLS
ECHO,
ECHO 【ISO光盘镜像文件安装向导】
Z:
DIR/W
ECHO,
ECHO ISO光盘镜像文件已经安装...
ECHO,
GOTO EXT
:exit
A:
:EXT
楼主要想将这个批处理彻底搞明白,那需要下很多功夫学习DOS的基础知识及WBAT的用法。