|
5#

楼主 |
发表于 2003-2-12 09:59:54
|
只看该作者
怎样改动autoexec.bat才能直接安装win98se? (无内容)
与之有关的几个文件
ramexec.bat文件IF EXIST %CDROM%:\DISKEM1X.BIN GOTO DEMUMGR
IF EXIST %CDROM%:\DISKEMU.BIN GOTO DEMUMGR
GOTO MENUSTAR
:DEMUMGR
copy a:\demumgr.com > nul
demumgr /u > nul
del %RAMD%:\demumgr.com
GOTO MENUSTAR
:MENUSTAR
CALL MENU.BAT
GOTO END
:END
setramd.bat文件
@echo off
set RAMD=
set CDROM=
echo.
echo Preparing to start your computer.
echo This may take a few minutes. Please wait...
echo.
a:\findramd
if errorlevel 255 goto no_ramdrive
if not errorlevel 3 goto no_ramdrive
goto do_shift
:loop
if errorlevel %1 goto no_shift
:do_shift
set cdrom=%2
shift
shift
if not %1*==* goto loop
goto no_ramdrive
:no_shift
set ramd=%2
if "%RAMD%"=="C" goto c_drive
goto success
:c_drive
echo Windows 98 has detected that drive C does not contain a valid FAT or
echo FAT32 partition. There are several possible causes.
echo.
echo 1. The drive may need to be partitioned. To create a partition on the drive,
echo run FDISK from the MS-DOS command prompt.
echo.
echo 2. You may be using third-party disk-partitioning software. If you are using
echo this type of software, remove the Emergency Boot Disk and restart your
echo computer. Then, follow the on-screen instructions to start your computer from
echo a floppy disk.
echo .
echo 3. Some viruses also cause your drive C to not register. You can use a virus
echo scanning program to check your computer for viruses.
echo.
goto success
:no_ramdrive
echo The Windows 98 startup disk could not create a temporary drive for the
echo diagnostic tools. This may be because this computer has less than the
echo minimum required extended memory.
echo.
:success
config.sys文件
[menu]
menuitem=SETUP_CD, Start Windows 98 Setup from CD-ROM.
menuitem=CD, Start computer with CD-ROM support.
menuitem=NOCD, Start computer without CD-ROM support.
menudefault=SETUP_CD,30
menucolor=7,0
[SETUP_CD]
device=himem.sys /testmem:off
device=emm386.exe noems
device=oakcdrom.sys /D:mscd000
dos=high,umb
files=60
buffers=45
stacks=9,256
devicehigh=ramdrive.sys /E 4096
lastdrive=z
[CD]
device=himem.sys /testmem:off
device=oakcdrom.sys /D:oemcd001
device=btdosm.sys
device=flashpt.sys
device=btcdrom.sys /D:oemcd001
device=aspi2dos.sys
device=aspi8dos.sys
device=aspi4dos.sys
device=aspi8u2.sys
device=aspicd.sys /D:oemcd001
[NOCD]
device=himem.sys /testmem:off
[COMMON]
stacks=9,256
lastdrive=z
|
|