iso.bat
@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光盘镜像文件,请"确定"后重新选择.
: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
w.bat
WBAT $W %1 %2 %3 %4 %5 %6 %7 %8 %9
set WBAT=D
set ?=2