你看看下面的代码应该会懂了@echo off
tw.exe /np /n3 > nul
CLS
recur
call w.bat box @MENU.BAT:sc_1
if errorlevel 100 goto _off
if "%?%" == "1" goto _dm
if "%?%" == "2" goto _bd
if "%?%" == "3" goto _to
if "%?%" == "4" goto _gho
if "%?%" == "5" goto _end
goto _end:sc_1
※※※※※※※※※※※※※※※※※※※※※※※※※※
※ ※
※ ※
※ ※
※ ※
※ ※
※ ※
※ ※
※ ※
※ ※
※ ※
※ ※
※※※※※※※※※※※※※※※※※※※※※※※※※※
:::_DM
@echo off
%RAMD%:\extract /y /e /l %RAMD%: DM956.cab > NUL
%RAMD%:
dm\dm.com %1 %2 %3 %4 %5%
reboot:_bd
call w.bat box @MENU.BAT:sc_2
if errorlevel 100 goto _off
if "%?%" == "1" goto _bd1
if "%?%" == "2" goto _bd2
goto _end:sc_2
※※※※※※※※※※※※※※※※※※※※※※※
※ 警 告 ※
※ ※
※ 请小心使用本程序,它会对硬盘数据产生不 ※
※ 可恢复的破坏。为安全起建,最好只用于有 ※
※ 问题的硬盘!!! ※
※ ※
※ ※
※ ※
※ ※
※ ※
※※※※※※※※※※※※※※※※※※※※※※※
:::_bd1
cls
FBDISK.EXE
reboot:_bd2
TW.EXE/q >nul
goto _off:_to
TW.EXE/q >nul
T0.BAT
goto _end:_gho
call w.bat box @MENU.BAT:sc_3
if errorlevel 100 goto _off
if "%?%" == "1" goto _gh1
if "%?%" == "2" goto _gh2
goto _end:sc_3
※※※※※※※※※※※※※※※※※※※※※※※
※ ※
※ ※
※ ※
※ ※
※ ※
※※※※※※※※※※※※※※※※※※※※※※※
:::_gh1
%RAMD%:
cls
MD GHOST
CD GHOST
COPY %CDROM%:\BOOT\GHOST.exe > nul
TW.EXE/q >nul
GHOST
CD\
DELTREE/Y GHOST
cls
goto _off:_gh2
%CDROM%:
cls
TW.EXE/q >nul
CD\BOOT
GHOST
cls
goto _off:_off
cls
CD\
MENU.bat:_end
CLS
http://www.msfans.net/bbs/