标题: [求助]:老师能帮我评点一下这个*BAT吗?
[打印本页]
作者: yudeng1210
时间: 2006-5-31 22:43
标题: [求助]:老师能帮我评点一下这个*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
[
Last edited by yudeng1210 on 2006-5-31 at 22:48 ]
作者: cike09
时间: 2009-9-12 05:14
什么也没有
作者: 523066680
时间: 2009-9-12 05:44
1,这个 a:\findramd 是干什么的
2, 英语很好,教我……
作者: 495739660
时间: 2009-9-13 01:44
标题: !!!!!!!!无语!
你这全是英语句子, 一点作用也没有啊!
作者: 5872169
时间: 2009-9-13 06:21
楼主,你是不是以为这里是英语角啊,呵呵