config.sys
[MENU]
MENUITEM=M3,Boot with NTFS and SCSI/USB drives support
menuitem=M1,Format A [New] HardDisk
menuitem=M2,Format A [Old] HardDisk
MENUITEM=M6,Shutdown or restart the computer
MENUDEFAULT=M3,15
[M0]
DEVICE=ECHO.SYS L/o/a/d/i/n/g CONFIG.SYS...
DEVICE=ECHO.SYS P/l/e/a/s/e /w/a/i/t...
DEVICE=HIMEM.SYS/testmemff
INCLUDE CD
[M3]
DEVICE=ECHO.SYS L/o/a/d/i/n/g CONFIG.SYS...
DEVICE=ECHO.SYS P/l/e/a/s/e /w/a/i/t...
DEVICE=HIMEM.SYS/testmemff
DEVICE=DUSE.EXE INT EMU CDW=3 DDW=3 XFER=32 DRIVES=2 CDD=USB-CD
INCLUDE CD
INCLUDE USB
autoexec.bat
@ECHO OFF
LH MOUSE
::Note: The following line is for the compatibility on some systems:
LH MOUSE>NUL
IF %CONFIG%#==M6# GOTO SHUT
IF %CONFIG%#==M3# GOTO BOOT
IF %CONFIG%#==M1# GOTO new
IF %CONFIG%#==M2# GOTO old
DREADY C:
IF ERRORLEVEL 1 ECHO Warning: Can't find any valid hard drives!
IF ERRORLEVEL 1 ECHO Please Install your HardDisk after ShutDown!
IF ERRORLEVEL 1 GOTO shutt
ECHO Y|LOCK C:>NUL
ld
gdisk 1 /del /all
:new
CLS
WBAT BOX "Please enter your choice:",20GB,40GB,80GB,120GB,Other
if not errorlevel 6 if errorlevel 5 goto end
IF not ERRORLEVEL 5 if errorlevel 4 call 120.bat
IF not ERRORLEVEL 4 if errorlevel 3 call 80.bat
IF not ERRORLEVEL 3 if errorlevel 2 call 40.bat
IF not ERRORLEVEL 2 if errorlevel 1 call 20.bat
cls
ECHO.
ECHO.
ECHO.
ECHO.
ECHO Your computer will restart in 10 second..........Press [ENTER] to Skip.
WAIT 10
IF ERRORLEVEL 13 IF NOT ERRORLEVEL 14 goto end
:SHUT
CLS
WBAT BOX "Please enter your choice:",Shutdown the computer,Restart the computer
IF NOT ERRORLEVEL 3 GOTO ANS
WBAT BOX (RED ON YELLOW) "Note: Please make a choice!",OK
GOTO SHUT
:ANS
IF ERRORLEVEL 2 GOTO RES
:shutt
ECHO Now trying to shutdown the computer..
ECHO.
SHUTDOWN S
ECHO.
ECHO Shutdown failed. Your computer may not have an ATX power.
goto end
:RES
ECHO Now restart the computer..
ECHO.
SHUTDOWN R
GOTO END
:BOOT
DREADY C:
IF ERRORLEVEL 1 ECHO Warning: Can't find any valid hard drives!
IF ERRORLEVEL 1 GOTO NOHD
ECHO Y|LOCK C:>NUL
:NOHD
LH SHSUCDX /D:?IDE-CD /D:?USB-CD
SET COMSPEC=A:\COMMAND.COM
:NEXT
ECHO.
ECHO Now trying to load the hard disk cache to speed the drives up...
LH SMARTDRV 4096 2048 /X
SET DIRCMD=/OGN /4
SET PROMPT=$P$G
PATH=A:.;%PATH%;..
LH DOSLFN /C- /Z:CP936UNI.TBL
NTFSDOS /U
LH ESCAPE
FINDCD /Q
CLS
WRITEXT 1 1 -f15 Note:
ECHO.
IF NOT %CDROM%#==# ECHO For accessing CD/DVD drive, use the drive letter %CDROM%(1st).
ECHO At any time, you can press F12 key to return to DOS, or use the mouse.
BREAK ON
LFNFOR ON
GOTO END