中国DOS联盟论坛

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-14 03:51
47,811 topics / 349,897 posts / today 0 new / 48,256 members
DOS学习入门 & 精彩文章 (教学室) » [Share] Explanation of the Configuration File of the config System
Printable Version  31,216 / 243
Floor16 如是大师 Posted 2003-05-12 00:00
元老会员 Posts 3,351 Credits 9,654 From 湖北
Hehe, it's not finished yet.。。。
Floor17 tanglu_sd Posted 2003-05-12 00:00
高级用户 Posts 271 Credits 948 From sd
Not bad, not bad, keep going, keep going!!
Floor18 bgn Posted 2003-05-13 00:00
中级用户 Posts 78 Credits 349
I didn't waste my money going online.
Thank you!
Floor19 如是大师 Posted 2003-05-13 00:00
元老会员 Posts 3,351 Credits 9,654 From 湖北
5, set the command processor
The SHELL command is used to set the command interpreter used by the DOS system. Generally, DOS defaults to command、com as the outermost command processor. If we use command from another compatible DOS system (for example, I once used romdos's command、com in msdos), then we should use the SHELL command to set it in the config file. We can also use this command to call other, more powerful command interpreters, such as 4dos、exe, etc.。。Of course, if anyone has developed an even better command interpreter himself (such as aommand、com or 7dos、exe and the like), that can likewise be loaded with the SHELL command.。
The general format of this command is SHELL=drive letter/path(folder)/command manager program
If the command manager is on the current drive together with this config file, the path in front can be omitted.
6,set variables
The SET command is used to change the limits of strings within the DOS system environment. It establishes a new DOS environment. What this command embodies is human-machine interaction in the true sense.。。。。The operator and the system can use the memory area specified by this command to change particular restrictions and default settings. This command can be used to create variables from %0 to %9.
The format at this time is: SET variable name (string)=any set value from %0 to %9
If we want to use this variable, we can use it in a batch command file by putting % signs before and after the string (variable). For example: after we set tmp=c:\dos, we can use the statement DIR %tmp% in a batch command to open and view the contents inside the c:\dos folder.。。。
Before DOS 6, this command was used in the autoexec file. Of course, now it's also used in batch commands。。。


Floor20 zgpjclnn Posted 2003-05-13 00:00
初级用户 Posts 2 Credits 111
Keep going!!
Floor21 pizigao Posted 2003-05-13 00:00
银牌会员 Posts 292 Credits 1,063
Support
Floor22 米高佳 Posted 2003-05-13 00:00
初级用户 Posts 5 Credits 127
Sorry, I still haven't figured out how to edit it
There is Config.sys on drive C: when I open it I get “Open With,” and there's nothing there. When I open it with a text document what appears is
rem
rem *** DO NOT EDIT THIS FILE! ***
rem
rem This file was created by the System Configuration Utility as
rem a placeholder for your CONFIG.SYS. Your actual CONFIG.SYS
rem file has been saved under the name CONFIG.TSH.
rem
Could it be that I have to use VB or something to open it?
Floor23 如是大师 Posted 2003-05-13 00:00
元老会员 Posts 3,351 Credits 9,654 From 湖北
Oh, REM is an interpretation command; it just increases the readability of the config file, or adds comments to some of the settings inside it. The statements it points to do not participate in execution. I'm just about to get to that.
Generally Windows doesn't need config file settings when it starts.。。。so that file on drive C is often empty. This section was written in by some installer when you installed something.。。。。
It doesn't have much to do with the system.。。。。The method for editing the config file is not wrong.。。。。
Floor24 minisheep Posted 2003-05-13 00:00
高级用户 Posts 233 Credits 830
Good post! Here are some suggestions!
1 After you've posted it all, organize it into a single post! Makes it convenient for people like us to collect!
2 Explain it together with autoexec.bat!
3 Also explain emm386 and Smartdrv! And memory categories such as ems!
4 And any other problems everyone thinks of later!
5 On behalf of the forum newbies, thank you
Floor25 如是大师 Posted 2003-05-14 00:00
元老会员 Posts 3,351 Credits 9,654 From 湖北
Okay, suggestions received.。。。。。Will definitely do as suggested.。。。。
Floor26 米高佳 Posted 2003-05-14 00:00
初级用户 Posts 5 Credits 127
For newbies like us, it's still better to explain it in more detail.
From your explanation above, does that mean Config.sys is actually an empty file, and we need to edit it with a text editor and give it commands, so that when the system starts, the system executes its commands?
Floor27 如是大师 Posted 2003-05-14 00:00
元老会员 Posts 3,351 Credits 9,654 From 湖北
Yes, exactly.。。。。
Floor28 阿媚 Posted 2003-05-15 00:00
初级用户 Posts 2 Credits 108
My first time here! And I immediately saw a good post! Good!
Floor29 ah_B Posted 2003-05-19 00:00
初级用户 Posts 16 Credits 186
I just have to bump this
Floor30 minisheep Posted 2003-05-19 00:00
高级用户 Posts 233 Credits 830
I reposted your post at Big Eyes! Hope you don't mind! http://www.wxsky.net/~socks5/dz2/viewthread.php?tid=18
Prev  1 2 3 4 517  Next
[ Contact the Union admin team - 中国DOS联盟 - Standard version ]
Sponsored by ifanr Inc | © 2001–2023