![]() |
China DOS Union-- Unite DOS · Advance DOS · Grow DOS --Union site: www.cn-dos.net Forum site: www.cn-dos.net/forum |
| Guest | Log in | Register | Members | Search | China DOS Union |
|
中国DOS联盟论坛 The time now is 2026-08-18 03:47 |
47,814 topics / 349,907 posts / today 4 new / 48,259 members |
| DOS疑难解答 & 问题讨论 (解答室) » How to load the SYS files I need the way CONFIG.SYS is loaded (solved) |
| Printable Version 1,598 / 14 |
| Floor1 jastyg | Posted 2006-04-17 16:12 |
| 中级用户 Posts 82 Credits 219 | |
|
It can be understood as: after loading the CONFIG file once, how do I run it again?
[ Last edited by jastyg on 2006-4-25 at 09:58 ] |
|
| Floor2 willsort | Posted 2006-04-18 21:38 |
| 元老会员 Posts 1,512 Credits 4,432 | |
|
Re jastyg:
I don't quite understand what you're trying to do. If CONFIG.SYS has already been loaded, that means memory has already been configured, and no matter what method you use to run it again, all kinds of problems will appear because the memory is being configured repeatedly. If the contents of the two CONFIG.SYS files are different, and there is no conflict in the memory configuration and loaded programs, then you should be able to put the contents of both CONFIG.SYS files into one CONFIG.SYS; if there is a conflict, you can also make a multi-boot menu to choose which one to execute. So I want to know: for what reason do you need to run CONFIG.SYS again? |
|
| Floor3 martin325 | Posted 2006-04-22 19:06 |
| 银牌会员 Posts 603 Credits 1,582 | |
|
For *.sys, how do I load it in a batch file?
|
|
| Floor4 chenall | Posted 2006-04-22 19:13 |
| 银牌会员 Posts 469 Credits 1,276 From 福建泉州 | |
|
You can use DEVLOAD.COM
You can download this software online. |
|
| Floor5 martin325 | Posted 2006-04-22 19:17 |
| 银牌会员 Posts 603 Credits 1,582 | |
|
How do I write it?
|
|
| Floor6 xjmxjm1234 | Posted 2006-04-22 19:24 |
| 中级用户 Posts 166 Credits 361 | |
|
Your mistake: 1) config.sys is the environment configuration file defined by the system and is loaded automatically at boot, while other *.sys files have to be set up manually;
2) loading *.sys files is set in config.sys, and generally is not written into batch commands. To load a *.sys file, you can add a few lines to config.sys: device=\路径\*.sys or devicehight=\路径\*.sys (the latter means loading into upper memory (memory management must already be loaded)) For example (my own boot disk) Notes: 1) emm386.exe can only be loaded after himem.sys has been loaded; 2) after loading those two, you can use the devicehigh command; 3) the *.sys files I want to configure are in the sys subdirectory; if yours are in the root directory, please remove \sys\. I wonder if you can understand it when I explain it this way? [ Last edited by xjmxjm1234 on 2006-4-22 at 19:25 ] |
|
| Floor7 martin325 | Posted 2006-04-22 19:29 |
| 银牌会员 Posts 603 Credits 1,582 | |
|
The problem now is that I want to load *.sys with a batch file, not in config.sys!
|
|
| Floor8 martin325 | Posted 2006-04-22 19:30 |
| 银牌会员 Posts 603 Credits 1,582 | |
|
The brother in post #4 said DEVLOAD.COM can be used. I'd like to ask how to write it in a batch file?
DEVLOAD.COM *.sys Is that format correct? |
|
| Floor9 martin325 | Posted 2006-04-22 20:40 |
| 银牌会员 Posts 603 Credits 1,582 | |
|
After testing, correct.
|
|
| Floor10 jastyg | Posted 2006-04-24 15:04 |
| 中级用户 Posts 82 Credits 219 | |
|
The situation is like this; let me be a bit more specific.
MAX's network boot disk has a function to automatically detect the network card (AUTOLAN.DOS). It's configured in CONFIG。SYS. I don't want it to be loaded right at boot; I want to call it only when I need it. DEVLOAD.COM AUTOLAN.DOS doesn't work, so I'm wondering whether it's possible to reload the SYS file once more (with device=AUTOLAN.DOS configured in it). |
|
| Floor11 martin325 | Posted 2006-04-24 15:39 |
| 银牌会员 Posts 603 Credits 1,582 | |
|
Please provide MAX's network boot disk
|
|
| Floor12 jastyg | Posted 2006-04-24 16:39 |
| 中级用户 Posts 82 Credits 219 | |
| Floor13 martin325 | Posted 2006-04-24 22:43 |
| 银牌会员 Posts 603 Credits 1,582 | |
|
Rename AUTOLAN.DOS to AUTOLAN.SYS, then use:
DEVLOAD.COM AUTOLAN.SYS Give it a try! |
|
| Floor14 GOTOmsdos | Posted 2006-04-24 23:57 |
| 铂金会员 Posts 1,827 Credits 5,154 | |
|
Using LOADSYS is better
|
|
| Floor15 jastyg | Posted 2006-04-25 09:57 |
| 中级用户 Posts 82 Credits 219 | |
Originally posted by martin325 at 2006-4-24 22:43: Thanks, it's OK now |
|
|
[ Contact the Union admin team -
中国DOS联盟 -
Standard version ] Sponsored by ifanr Inc | © 2001–2023 |