|
以下是CONFIG.SYS文件的配置内容
[MENU]
MENUCOLOR=15,1
MENUDEFAULT=BOOT,20
MENUITEM=BOOT,Boot From CD-ROM
SUBMENU=FAT,Hard Disk Subarea
SUBMENU=TOOLS,Tools
[COMMON]
DEVICE=\HIMEM.SYS /TESTMEM:OFF
DEVICE=\EMM386.EXE NOEMS I=B000-B7FF I=F00-F7FF
rem device=\emm386.exe
DOS=HIGH,UMB
FILES=55
BUFFERS=30
DEVICEHIGH=CDROM.SYS /D:MSCD000
[BOOT]
[FAT]
SUBMENU=FAT3,Hard Disk Subarea 3
SUBMENU=FAT4,Hard Disk Subarea 4
SUBMENU=FAT5,Hard Disk Subarea 5
SUBMENU=FAT6,Hard Disk Subarea 6
MENUITEM=CUSTOM7,Custom Hard Disk Subarea 7
MENUITEM=CUSTOM8,Custom Hard Disk Subarea 8
MENUITEM=CUSTOM9,Custom Hard Disk Subarea 9
MENUITEM=CUSTOM10,Custom Hard Disk Subarea 10
SUBMENU=MENU,TO Menu
[FAT3]
MENUITEM=AUTOMATISM3,Automatism
MENUITEM=CUSTOM3,Custom
SUBMENU=FAT,TO Hard Disk Subarea
SUBMENU=MENU,TO Menu
[FAT4]
MENUITEM=AUTOMATISM4,Automatism
MENUITEM=CUSTOM4,Custom
SUBMENU=FAT,TO Hard Disk Subarea
SUBMENU=MENU,TO Menu
[FAT5]
MENUITEM=AUTOMATISM5,Automatism
MENUITEM=CUSTOM5,Custom
SUBMENU=FAT,TO Hard Disk Subarea
SUBMENU=MENU,TO Menu
[FAT6]
MENUITEM=AUTOMATISM6,Automatism
MENUITEM=CUSTOM6,Custom
SUBMENU=FAT,TO Hard Disk Subarea
SUBMENU=MENU,TO Menu
[CUSTOM7]
[CUSTOM8]
[CUSTOM9]
[CUSTOM10]
[AUTOMATISM3]
[CUSTOM3]
[AUTOMATISM4]
[CUSTOM4]
[AUTOMATISM5]
[CUSTOM5]
[AUTOMATISM6]
[CUSTOM6]
[TOOLS]
MENUITEM=HD,FOMAT A:\
MENUITEM=GHOST,GHOST
MENUITEM=PQ,PQMAGIC
MENUITEM=FDISK,Chinese FDISK
SUBMENU=MENU,TO Menu
[HD]
[GHOST]
[PQ]
[FDISK]
以下是AUTOEXEC.BAT文件的配置内容
@ECHO OFF
LH \MSCDEX.EXE /D:MSCD000
LH \SMARTDRV.EXE
LH \MOUSE.COM
SET cdrom=
lh
findcd -e
if errorlevel 255 goto _err
if errorlevel 0 set cdrom=A
if errorlevel 1 set cdrom=B
if errorlevel 2 set cdrom=C
if errorlevel 3 set cdrom=D
if errorlevel 4 set cdrom=E
if errorlevel 5 set cdrom=F
if errorlevel 6 set cdrom=G
if errorlevel 7 set cdrom=H
if errorlevel 8 set cdrom=I
if errorlevel 9 set cdrom=J
if errorlevel 10 set cdrom=K
if errorlevel 11 set cdrom=L
if errorlevel 12 set cdrom=M
if errorlevel 13 set cdrom=N
if errorlevel 14 set cdrom=O
if errorlevel 15 set cdrom=P
if errorlevel 16 set cdrom=Q
if errorlevel 17 set cdrom=R
if errorlevel 18 set cdrom=S
if errorlevel 19 set cdrom=T
if errorlevel 20 set cdrom=U
if errorlevel 21 set cdrom=V
if errorlevel 22 set cdrom=W
if errorlevel 23 set cdrom=X
if errorlevel 24 set cdrom=Y
if errorlevel 25 set cdrom=Z
path c:\;a:\;c:\windows\command;%cdrom%:\ghost;
%cdrom%:
goto _end
:_err
echo.
echo There was an error...
:_end
GOTO %CONFIG%
:BOOT
GOTO END
:AUTOMATISM3
%cdrom%:\ghost\ghost.exe -clone,mode=load,src=%cdrom%:\ghost\fat3.gho,dst=1 -sure -rb
GOTO END
:CUSTOM3
%cdrom%:\ghost\ghost.exe -clone,mode=load,src=%cdrom%:\ghost\fat3.gho,dst=1 -rb
GOTO END
:AUTOMATISM4
%cdrom%:\ghost\ghost.exe -clone,mode=load,src=%cdrom%:\ghost\fat4.gho,dst=1 -sure -rb
GOTO END
:CUSTOM4
%cdrom%:\ghost\ghost.exe -clone,mode=load,src=%cdrom%:\ghost\fat4.gho,dst=1 -rb
GOTO END
:AUTOMATISM5
%cdrom%:\ghost\ghost.exe -clone,mode=load,src=%cdrom%:\ghost\fat5.gho,dst=1 -sure -rb
GOTO END
:CUSTOM5
%cdrom%:\ghost\ghost.exe -clone,mode=load,src=%cdrom%:\ghost\fat5.gho,dst=1 -rb
GOTO END
:AUTOMATISM6
%cdrom%:\ghost\ghost.exe -clone,mode=load,src=%cdrom%:\ghost\fat6.gho,dst=1 -sure -rb
GOTO END
:CUSTOM6
%cdrom%:\ghost\ghost.exe -clone,mode=load,src=%cdrom%:\ghost\fat6.gho,dst=1 -rb
GOTO END
:CUSTOM7
%cdrom%:\ghost\ghost.exe -clone,mode=load,src=%cdrom%:\ghost\fat7.gho,dst=1 -rb
GOTO END
:CUSTOM8
%cdrom%:\ghost\ghost.exe -clone,mode=load,src=%cdrom%:\ghost\fat8.gho,dst=1 -rb
GOTO END
:CUSTOM9
%cdrom%:\ghost\ghost.exe -clone,mode=load,src=%cdrom%:\ghost\fat9.gho,dst=1 -rb
GOTO END
:CUSTOM10
%cdrom%:\ghost\ghost.exe -clone,mode=load,src=%cdrom%:\ghost\fat10.gho,dst=1 -rb
GOTO END
:HD
%cdrom%:\ghost\hd.exe
GOTO END
:GHOST
%cdrom%:\ghost\ghost.exe
GOTO END
:PQ
%cdrom%:\ghost\pqmagic.exe
GOTO END
:FDISK
LH %cdrom%:\ghost\tw.exe
%cdrom%:\ghost\pfdisk98.exe
GOTO END
:END
SET CONFIG=
rem a:\ghost.exe -clone,mode=pload,src=%cdrom%:\ghost\restore.gho:1,dst=1:1 -sure -rb
cls
进行自动分区总是分3个区。 |
|