|
3#
楼主 |
发表于 2009-2-17 03:27:06
|
只看该作者
原帖由 CWD 于 2009-2-16 21:33 发表
ECHO. 请选择编辑方式{按数字键} 然后按回车:
id /C:123 ???
choice /C:1234567890 "请选择编辑方式{按数字键} 然后按回车:"
清除PAUSE
谢谢
我在虚拟机里 测试 不停的循环!
@ECHO OFF
PROMPT $P$G
set temp=c:\
set tmp=c:\
SET EXPAND=YES
SET DIRCMD=/O:N
set LglDrv=27 * 26 Z 25 Y 24 X 23 W 22 V 21 U 20 T 19 S 18 R 17 Q 16 P 15
set LglDrv=%LglDrv% O 14 N 13 M 12 L 11 K 10 J 9 I 8 H 7 G 6 F 5 E 4 D 3 C
CALL SETRAMD.BAT %LglDrv%
COPY COMMAND.COM %RAMD%:\
COPY EXTRACT.EXE %RAMD%:\
CLS
ECHO.
ECHO.
ECHO Extracting Files To RAMDISK ...... Please Wait ......
EXTRACT /E /L %RAMD%:\ EBD.CAB > NUL
SET COMSPEC=%RAMD%:\COMMAND.COM
MD %RAMD%:\TEMP
SET TMP=%RAMD%:\TEMP
SET TEMP=%RAMD%:\TEMP
PATH=%RAMD%:\;%CDROM%:\DOS\;A:\;
LH KILLER
LH CTMOUSE
LH DOSKEY
LH MSCDEX.EXE /D:MSCD000 /L:%CDROM%
CDA %CDROM% > NUL
Set LglDrv=
PATH=%RAMD%:\;A:\;C:\;%CDROM%:;%CDROM%:\DOS\;%RAMD%:\BAT\;%CDROM%:\;
MD %RAMD%:\TEMP
XXCOPY /E /H %CDROM%:\DOS\EBD %RAMD%:\ > NUL
LH GH95
%RAMD%:
CD \UCDOS
RD16
KNL
LIMD PY
LIMD WB
CD\
CLS
devload USBASPI.SYS /v /e /norst
devload ASPIDISK.SYS
arj x -y -gxya168 tools.arj >nul
color 1f
key /u >nul
call dlu.bat
call mouse.bat
GOTO MENU
:MENU
ECHO. ======================================
ECHO. 1- ghost 11。5
ECHO. 2- DISKGEN 硬盘分区
ECHO. 3- HWINFO 硬件检测
ECHO. 4- MHDD 硬盘维护
ECHO. 5- thdd 坏道检测
ECHO. 6- LFORMAT 低格工具
ECHO. 7- HDDREG 磁盘再生器
ECHO. r- 重起计算机
ECHO. s- 关闭计算机
ECHO. =======================================
ECHO.
choice /C:1234567890 "请选择编辑方式{按数字键} 然后按回车:"
if "%id%"=="1" goto 1
if "%id%"=="2" goto 2
if "%id%"=="3" goto 3
if "%id%"=="4" goto 4
if "%id%"=="5" goto 5
if "%id%"=="6" goto 6
if "%id%"=="7" goto 7
if "%id%"=="r" goto r
if "%id%"=="s" goto s
:1
goto ghost
:2
goto DISKGEN
:3
goto HWINFO
:4
goto MHDD
:5
goto LFORMAT
:6
goto HDDREG
:7
goto thdd
:r
goto r
:s
goto s
:ghost
cd\ghsot
ctmouse >nul
ghost.exe
goto MENU
:DISKGEN
cls
cd\DISKGEN
call DISKGEN.BAT
set mp=5
set sec=0
cls
goto MENU
:HWINFO
cd\HWINFO
call HWINFO.EXE
cls
goto MENU
:MHDD
call mhdd.exe
cls
goto MENU
:LFORMAT
call LFORMAT.EXE
cls
goto MENU
:HDDREG
cd\HDDREG
call HDD.BAT
set mp=5
set sec=0
GOTO End
:thdd
thdd.bat
set mp=5
set sec=0
GOTO End
:r
r.bat
GOTO End
:s
s.bat
GOTO End
[ 本帖最后由 xya168 于 2009-2-17 03:31 编辑 ] |
|