|
@Echo Off
cls
Set PROMPT=$P$G
START.EXE>NUL
Echo.
Echo 纮羴聜脙 MS-DOS 7.1...
:Next
LH XMSDSK 8192 /Y >NUL
FINDRAMD>NUL
If "%RAMDRIVE%"=="" Goto NORAM
If Not Exist %RAMDRIVE%\TEMP\NUL MD %RAMDRIVE%\TEMP >NUL
Set TMP=%RAMDRIVE%\TEMP
Set TEMP=%RAMDRIVE%\TEMP
Echo.
Echo MS-DOS 7.10 纮羴膭艆茊菄葓蓧蕣藡虒蛵 %RAMDRIVE%
Echo 螏蠌袗褢覓訐詳諘謻, 讞貥贆...
Echo ----------------------------
Echo 跉蹧軠轁 GDISK 逓蛵邿袗酄帷!
Echo 猗悖: 浃濂姒
Echo ----------------------------
LFNFOR On
Set DIRCMD=/OGN /4
If exist EXTRACT.EXE copy /y EXTRACT.EXE %RAMDRIVE% >NUL
If exist COMMAND.COM copy /y COMMAND.COM %RAMDRIVE% >NUL
If exist FINDRAMD.EXE copy /y FINDRAMD.EXE %RAMDRIVE% >NUL
If exist XMSDSK.EXE copy /y XMSDSK.EXE %RAMDRIVE% >NUL
If Not Exist %RAMDRIVE%\COMMAND.COM Goto COPYERR
If Not Exist %RAMDRIVE%\EXTRACT.EXE Goto COPYERR
Set COMSPEC=%RAMDRIVE%\COMMAND.COM
PATH=%RAMDRIVE%.;..;%RAMDRIVE%\DATA;%RAMDRIVE%\GGDISK;%RAMDRIVE%\GGDISK\Function;%RAMDRIVE%\GGDISK\WBAT
For %%a In (EBD GGDISK) Do If Not Exist %%a.CAB Goto NOCAB
%RAMDRIVE%\EXTRACT /E /Y /L %RAMDRIVE% EBD.CAB >NUL
%RAMDRIVE%\EXTRACT /E /Y /L %RAMDRIVE% GGDISK.CAB >NUL
cls
LH %RAMDRIVE%\TW >NUL
cls
cls
%RAMDRIVE%\MODE CON RATE=32 DELAY=1
LH %RAMDRIVE%\KILLER
LH %RAMDRIVE%\DOSKEY
LH %RAMDRIVE%\ZENO /Q
LH %RAMDRIVE%\CTMOUSE
LH %RAMDRIVE%\CTMOUSE >NUL
LH %RAMDRIVE%\DOSLFN /C- /Z:%RAMDRIVE%\CP936UNI.TBL
LH %RAMDRIVE%\CTLOAD %RAMDRIVE%\UDVD.SYS /D:CD-ROM
LH %RAMDRIVE%\SHCDX33C /D:?CD-ROM /Q /~+
LH %RAMDRIVE%\KEY PY WB LX
%RAMDRIVE%\FINDCD >NUL
If Not "%RAMDRIVE%"=="C:" If Not "%CDROM%"=="C:" %RAMDRIVE%\GGDISK\FUNCTION\DREADY C:
If Errorlevel 1 Goto Contiune
ECHO Y|LOCK C:>NUL
:Contiune
PATH=%PATH%;C:.;..;A:.;..
%RAMDRIVE%\GGDISK\WBAT BOX 19,45 "运行 GDISK 硬盘智能分区吗?",Yes 是,No 否
If errorlevel 2 goto HELP
Call %RAMDRIVE%\GGDISK\GGDISK.BAT
goto end
:HELP
Echo 现在你已经处于 MS-DOS 7.10 命令提示符中, help /? 可获得所有帮助信息.
Echo.
Goto End
:COPYERR
Echo 绉瑷: 椹猗茊菄葓蓧蕣藡虒蛵 RAM disk %RAMDRIVE% 戟氆!
Set COMSPEC=A:\COMMAND.COM
Goto End
:NORAM
Echo 飕憝: 藡虒町锆! 鸢癖蓧蕣藡虒蛵 RAM disk %RAMDRIVE% 戟氆!
Set COMSPEC=A:\COMMAND.COM
Goto End
:NOCAB
Echo 绉瑷: 虿蟪舸 CAB 艆醯龆!
Set COMSPEC=A:\COMMAND.COM
Goto End
:End |
|