DOS Startups
Home Bulletin Writings Bài Viết Photos Genealogy Phả Hệ Interests Arts Games Music Downloads Links Search Contact us

Up Next 

Config.sys:

[MENU]
MENUITEM=NORMAL, Start computer with CD-ROM support.
MENUITEM=NOCD, Start computer without CD-ROM support.
MENUITEM=DIAGNOSTIC, Check hard disks for errors.
MENUITEM=GHOST, Start Ghost disk imaging program.
MENUDEFAULT=NORMAL, 20
MENUCOLOR=14,5 (Yellow on Magenta)
;MENUCOLOR=15,1 (Bright White on Blue)
;MENUCOLOR=0,2 (Black on Green)
;MENUCOLOR=7,1 (White on Blue)
;MENUCOLOR=4,3 (Red on Cyan)
;MENUCOLOR=8,6 (Gray on Brown)
;MENUCOLOR=6,8 (Brown on Gray)

[COMMON]
;XMS Memory Manager:
DEVICE=A:\HIMEM.SYS

FILES=10
BUFFERS=10
DOS=HIGH,UMB
STACKS=9,256
LASTDRIVE=Z

[NORMAL]
;Generic device driver for ATAPI CD-ROM drives:
device=A:\CDROM\oakcdrom.sys /D:mscd001

;Real-Mode Adaptec CD-ROM driver:
device=A:\CDROM\aspi2dos.sys
device=A:\CDROM\aspi8dos.sys
device=A:\CDROM\aspi4dos.sys
device=A:\CDROM\aspi8u2.sys
device=A:\CDROM\aspicd.sys /D:mscd001

[NOCD]

[DIAGNOSTIC]

[GHOST]
 

Autoexec.bat:

@ECHO OFF
SET DIRCMD=/O:N
SET TEMP=C:\
SET TMP=C:\
PATH=A:\;A:\COMMAND\;A:\CDROM\;C:\
GOTO %CONFIG%

:NORMAL
@PROMPT * Ghost disk imaging with CD-ROM (Z:) support * $D$ , $T$H$H$H$H$H$H$_$P$G
SET PATH=%PATH%;%CDROM%:\
@LH A:\COMMAND\MSCDEX.EXE /D:mscd001 /L:Z
GOTO EXIT

:NOCD
@PROMPT * Ghost disk imaging without CD-ROM support * $D$ , $T$H$H$H$H$H$H$_$P$G
SET PATH=%PATH%
GOTO EXIT

:DIAGNOSTIC
@PROMPT * Ghost disk imaging with CD-ROM (Z:) support * $D$ , $T$H$H$H$H$H$H$_$P$G
SET PATH=%PATH%;%CDROM%:\
@LH A:\COMMAND\MSCDEX.EXE /D:mscd001 /L:Z
rem @ECHO Check all hard disks for errors:
rem A:\COMMAND\SCANDISK.EXE /all
rem @ECHO Perform a full surface scan of all hard disks for errors:
rem A:\COMMAND\SCANDISK.EXE /all /surface
@ECHO Check all hard drives for errors:
A:\COMMAND\CHKDSK.EXE /all
GOTO EXIT

:GHOST
@PROMPT * Ghost disk imaging with CD-ROM (Z:) support * $D$ , $T$H$H$H$H$H$H$_$P$G
SET PATH=%PATH%;%CDROM%:\
@LH A:\COMMAND\MSCDEX.EXE /D:mscd001 /L:Z
rem :CDTOIMAGE
rem @ECHO The following command will clone the Ghost image from the CD to the hard disk:
rem GHOSTPE.EXE -clone,mode=load,src=z:\cdr00001.gho,dst=1 -fx
@ECHO Activating GHOST disk imaging program:
A:\GHOSTPE.EXE
GOTO EXIT

:EXIT

 

   

Copyright © 2001-2008 NguyendoFamily.com .  All rights reserved.
Email: Tuan@NguyendoFamily.com
Home Page: http://www.NguyendoFamily.com
Last Revised: Tuesday, March 04, 2008