- 浏览: 1547746 次
- 性别:
- 来自: 上海
文章分类
- 全部博客 (532)
- 软件设计师 (7)
- PSP (5)
- NET MD (9)
- Hibernate (8)
- DIY (51)
- Work (43)
- GAME (24)
- 未分类 (44)
- iPod (6)
- MySQL (39)
- JSP (7)
- 日语能力考试 (36)
- 小说 (4)
- 豆包网 (23)
- 家用电脑 (7)
- DB2 (36)
- C/C++ (18)
- baby (9)
- Linux (13)
- thinkpad (23)
- OA (1)
- UML (6)
- oracle (24)
- 系统集成 (27)
- 脑梗塞 (6)
- 车 (8)
- MainFrame (8)
- Windows 7 (13)
- 手机 (8)
- git (12)
- AHK (2)
- COBOL (2)
- Java (9)
最新评论
-
安静听歌:
... ...
UUID做主键,好还是不好?这是个问题。 -
lehehe:
http://www.haoservice.com/docs/ ...
天气预报 -
lehehe:
[url http://www.haoservice.com/ ...
天气预报 -
liubang201010:
监控TUXEDO 的软件推荐用这个,专业,权威.并能提供报警和 ...
(转载)Tuxedo中间件简介 -
tinkame:
Next[j] =-1 当j=0时;=Max{k|0<k ...
KMP字符串模式匹配详解
Autoexec.bat and Config.sys information
|
|
Autoexec.bat layout
Below is an example of what an autoexec may look like:
@echo off
SET SOUND=C:\PROGRA~1\CREATIVE\CTSND
SET BLASTER=A220 I5 D1 H5 P330 E620 T6
SET PATH=C:\Windows;C:\
LH C:\Windows\COMMAND\MSCDEX.EXE /D:123
LH C:\MOUSE\MOUSE.EXE
DOSKEY
CLS
Command |
Explanation |
@echo off | Tells DOS to just read the lines but don't echo them back to the screen. |
SET SOUND=C:\PROGRA~1\CREATIVE\CTSND | This example is for the particular sound card that we have in one of the machines that we have. The set sound is telling the computer to send all sound events that the computer may run to that directory. |
SET BLASTER=A220 I5 D1 H5 P330 E620 T6 | Tells the computer to set the sound blaster settings. This is a good line for game players; if you have this line in your autoexec.bat you will know all settings for your sound card. A220 = port address "220", I5 = IRQ 5, D1 = DMA 1 usually being the settings you will need for any game out on the market. |
SET PATH=C:\Windows;C:\ | Sets the computer to look in the C:\windows directory or the root if a command used at the prompt is not found. |
LH C:\Windows\COMMAND\MSCDEX.EXE /D:123 | Line used for the CD-ROM. If you have Windows 95+, the MSCDEX will always be in the C:\Windows\COMMAND. In Windows 3.x or DOS, this will usually be either in C:\DOS or C:\Windows directory. The /D:123 is the name of the driver name that loads in upper memory; this can be anything, usually /D:MSCD0001. However, this is not an actual driver, this is just the name for the driver. Ensure if you change this line that you change it in the config.sys on your CD-ROM line. If the two are not the same, your CD-ROM drive will not load. |
LH C:\MOUSE\MOUSE.EXE | Loads the mouse driver into memory. However, not all mice use the same drivers. Although the mouse may use mouse.exe it could also be "mouse.com" or "mouse.sys", which is loaded in the config.sys. |
C:\DOS\SMARTDRV.EXE /X | Loads the smartdrive disk cache utility into memory. See our smartdrv command page for additional information about this utility. |
DOSKEY | Simple dos command to load DOSKEY into memory so when in DOS you can use it without having to load it. |
CLS | MS-DOS command to clear screen. |
WIN | Used for users using Windows 3.x, this line will load Windows automatically when booting the computer. |
Config.sys layout
Below is an example of what the config.sys may look like:
DEVICE=C:\Windows\HIMEM.SYS
DOS=HIGH,UMB
DEVICE=C:\Windows\EMM386.EXE NOEMS
FILES=30
STACKS=0,0
BUFFERS=20
DEVICEHIGH=C:\Windows\COMMAND\ANSI.SYS
DEVICEHIGH=C:\MTMCDAI.SYS /D:123
Command |
Explanation |
DEVICE=C:\Windows\HIMEM.SYS | The Himem.sys line is a very important line; this line will allow you to load drivers into high memory. If this line is not present, Windows 3.x will not load. |
DOS=HIGH,UMB | This line will load DOS into high memory in an upper memory block. Note the location usually best placed after the HIMEM.SYS. |
DEVICE=C:\Windows\EMM386.EXE NOEMS | The EMM386 line loads the extended memory manager, however note that some MS-DOS games have problems with extended memory and will not run without the NOEMS statement. |
FILES=30 | The files line allow Windows to load 30 files at the same time. Usually, however, going higher may decrease the computer's performance; 30 is found to work the best. Also ensure that this line is all as one line and that there is not a space between and after the =. |
STACKS=0,0 | The stacks line was first used in MS-DOS 3.2 and was used to swap the stack whenever an asynchronous hardware interrupt occurred. Later in MS-DOS 3.3 the line STACKS=0,0 was added into the config.sys. In special circumstances, this line was changed to STACKS=9,128.
The STACKS statement has a range of 8-64, 32-512. If a higher value is entered you will receive a FATAL : Internal Stack Failure, System Halted error message. |
BUFFERS=20 | Buffers line is to load buffers into memory allowing Windows to load memory. |
DEVICEHIGH=C:\Windows\COMMAND\ANSI.SYS | The ansi.sys line is a driver for DOS to allow you to have different colors / sizes and special characters at the DOS prompt. |
DEVICEHIGH=C:\MTMCDAI.SYS /D:123 | This line is the name of the CD-ROM driver on the particular system we are working on. The /D:123 represents the name of the driver, which in this case is named 123, however, can be named anything, usually MSCD0001. Note, however, that /D:123 must be exactly the same in config.sys and autoexec.bat; if they are different, the CD-ROM will not work in DOS. |
LASTDRIVE= | Allows you to specify the last drive installed on the computer. It is not recommended this line be used unless you are using Windows 3.11 or below. This line can cause issues with Windows 95 & 98 and will generally be remarked by Windows automatically. |
FCBS= | Line used to specify the number of file-control blocks for file sharing. This line should only be used when programs require it, and today, is generally not used or required. FCBS can utilize between 1 and 255. |
|
||||||||||||||||
|
http://www.computerhope.com/ac.htm
发表评论
-
(转)PSP全游戏图鉴OfflineList 送GBA2802个+310中文游戏 有收藏癖者必备
2011-04-02 13:08 1391http://www2.cngba.com/threa ... -
(转)PSP全游戏图鉴OfflineList 送GBA2802个+310中文游戏 有收藏癖者必备
2011-04-02 13:08 1839http://www2.cngba.com/threa ... -
(转)PSP全游戏图鉴OfflineList 送GBA2802个+310中文游戏 有收藏癖者必备
2011-04-02 13:08 5813http://www2.cngba.com/threa ... -
(转)PSP全游戏图鉴OfflineList 送GBA2802个+310中文游戏 有收藏癖者必备
2011-04-02 13:08 2129http://www2.cngba.com/threa ... -
(转)PSP全游戏图鉴OfflineList 送GBA2802个+310中文游戏 有收藏癖者必备
2011-04-02 13:07 1777http://www2.cngba.com/threa ... -
(转)Offline List 使用教程
2011-04-02 12:55 4374http://www.dianwanbox.co ... -
(转)Seven Kingdoms Conquest (Marc Derell) - Game Rip
2011-03-06 19:25 1159http://forums.ffshrine.org/ ... -
(转)Seven Kingdoms I + II + Ancient Adversaries (Game Rips) - Bjørn Lynne
2011-03-06 19:23 1592http://forums.ffshrine.org/f7 ... -
(转)巧妙去除幻想游戏植入的广告
2010-12-29 09:36 1416http://mouri100.blog.163.co ... -
(转)太阁立志传立志传5太阁立志传技巧篇
2010-10-31 01:58 3236http://www.wodegame.com ... -
(转)太阁立志传立志传5完全攻略
2010-10-31 01:53 3216http://www.wodegame.com/htm ... -
(转)席德梅尔的海盗如何洗劫城市
2010-08-22 22:17 1713http://zhidao.baidu.c ... -
(转)格兰蒂亚2完美运行方法(不黑屏窗口化win7等)
2010-08-07 22:37 11004http://tieba.baidu.com/f?kz ... -
(转)RemapKey等:小巧实用的键盘映射工具
2010-08-02 14:55 2028http://xbeta.info/key-tweak-r ... -
(转)通过修改键盘映射替代损坏按键
2010-08-02 09:12 3719http://hi.baidu.com/kxw102/bl ... -
2009年网络游戏排行榜
2009-07-06 17:17 7789http://wenwen.soso.com/z/ ... -
盘点2009网络游戏排行榜
2009-07-06 17:00 10519http://www.junzimen.com/Article ... -
2009年25大最新网络游戏排行榜
2009-07-06 16:53 9921http://www.compassblog.cn/200 ... -
曹操传水木清华版本,新剧本吕布传三国衰哥行袁绍新传刘备传等
2007-11-17 08:53 16666http://xycqccz.ys168.com/ 玩家自创剧 ... -
DOS游戏通用说明
2007-11-14 17:34 2852DOS ...
相关推荐
如if exist config.sys edit config.sys 3、if errorlevel / if not errorlevel 数字 待执行的命令 如果返回码等于指定的数字,则条件成立,运行命令,否则运行下一句。 如if errorlevel 2 goto x2 DOS程序运行时...
Modify your CONFIG.SYS and AUTOEXEC.BAT files as necessary. 2.2 SyQuest Removable Hard Disk ------------------------------- If your system contains a SyQuest removable hard disk, use the following ...
7. AUTOEXEC.BAT是DOS和早期Windows系统中在启动时自动执行的批处理文件。 8. BAT文件是批处理文件(Batch File),通常以批处理命令来执行一系列任务。 文件操作相关知识点: 1. 文件扩展名如.txt、.bat、.com、....
专业版提供了新的功能,能够使软件发行商随时更新并使用最新技术,支持修改系统配置文件,如Autoexec.bat和config.sys,注册表,加入产品序列号,以及自动生成反安装程序等。 InstallShield具备最佳的功能性和灵活...
- **位置与作用**:`Autoexec.bat` 是 DOS 时代遗留下来的一个批处理文件,虽然在 Windows XP 中已经不再常用,但仍可用于执行某些命令。 - **内容**:用户可以自定义脚本来实现开机自动执行的任务。 - **注意事项**...
in CONFIG SYS or it can load later in AUTOEXEC BAT or by user command DOS can copy critical programs and data to the RAMdisk where they will be read or written at memory speed If loaded after ...
Contents of your AUTOEXEC.BAT file. f. Contents of your CONFIG.SYS file. 2. INSTALLATION ---------------- You MUST use the INSTALL program to install Turbo C++. The files on the distribution...
Contents of your AUTOEXEC.BAT file. f. Contents of your CONFIG.SYS file. 2. INSTALLATION ---------------- You MUST use the INSTALL program to install Turbo C++. The files on the distribution...
- **AUTOEXEC.BAT**:早期DOS系统中使用的启动脚本。 - **CONFIG.SYS**:DOS系统配置文件。 - **IO.SYS**:处理硬件输入/输出的文件。 - **MSDOS.SYS**:包含Windows文件路径和其他设置。 - **boot.ini**:多系统...
Contents of your AUTOEXEC.BAT file. f. Contents of your CONFIG.SYS file. 2. INSTALLATION ---------------- The INSTALL/HELP/BGI disk contains a program called INSTALL.EXE that will assist you ...
Contents of your AUTOEXEC.BAT file. f. Contents of your CONFIG.SYS file. 2. INSTALLATION ---------------- The INSTALL/HELP disk contains a program called INSTALL.EXE that will assist you with ...
- **用途**: 用于编辑系统配置文件,如 Autoexec.bat 和 Config.sys,适用于高级用户进行系统调整。 #### 32. sigverif - **功能**: 执行文件签名验证。 - **用途**: 用于验证系统文件是否由微软官方发布,确保系统...