无忧启动论坛

 找回密码
 注册
搜索
系统gho:最纯净好用系统下载站广告联系 微信:wuyouceo QQ:184822951
查看: 2428|回复: 3
打印 上一主题 下一主题

dos高手请进!我是有点菜

[复制链接]
跳转到指定楼层
1#
发表于 2003-3-8 22:17:51 | 只看该作者 回帖奖励 |倒序浏览 |阅读模式
@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
实在是不懂  唉
2#
发表于 2003-3-8 22:57:26 | 只看该作者

dos高手请进!我是有点菜

找本讲dos的书,看一下关于批处理的一节,大概只有几页吧,再仔细想想就是了。
回复

使用道具 举报

3#
发表于 2003-3-9 05:25:19 | 只看该作者

dos高手请进!我是有点菜

这是WIN98启动盘里SETRAMD.BAT里的内容阿,批处理内容无非写的就是如何在不同的硬盘分区数量的情况下匹配光驱的动态盘符,其实就是这样。
回复

使用道具 举报

4#
 楼主| 发表于 2003-3-9 08:16:22 | 只看该作者

dos高手请进!我是有点菜

多谢了  大侠!!!!!!!!!!!!!!!!1
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

小黑屋|手机版|Archiver|捐助支持|无忧启动 ( 闽ICP备05002490号-1 )

闽公网安备 35020302032614号

GMT+8, 2024-5-11 17:31

Powered by Discuz! X3.3

© 2001-2017 Comsenz Inc.

快速回复 返回顶部 返回列表