『楼 主』:
MS-DOS 7.x版的增加功能(原创)
使用 LLM 解释/回答一下
MS-DOS 7.x版的增加功能
大家知道,MS-DOS 7.x是MS-DOS的最新最实用的版本。既然其版本号为7,那么它和旧的MS-DOS 6.xx相比有哪些新增功能呢?它们之间的区别是比较大的,MS-DOS 7.x确实有很大的更新和进步。现简要比较一下。
新增命令:
LOCK UNLOCK LFNFOR EXTRACT XMSMMGR ACCDATE
LOCK和UNLOCK用来锁定/解开直接磁盘存取。
LFNFOR用来设定FOR命令中是否使用长文件名。
EXTRACT用来从CAB文件中提取压缩文件。
XMSMMGR是一个XMS管理器,可以直接在命令行上加载,而不用HIMEM.SYS。
ACCDATE是一个CONFIG.SYS命令,用来决定是否记录文件存取时间。
还有一些其它新增的未公开命令,如CONFIG.SYS中的LOGO命令等。
新增选项:
新增选项很多,其中有很多是未公开的,如COMMAND /T、DIR /Z等等,具体可在“DOS使用”栏目中看到。
公开的如DIR /4显示四位年份 (MS-DOS 7.10中)、DOS=AUTO等。
新增功能:
这是很重要的一部分,因为有些功能确实很实用。
MS-DOS 7.10全面支持大于64M的大内存,从而不再有了MS-DOS 6.x的内存限制;
COMMAND.COM命令处理器可以自动调入UMB内存,而不再占用常规内存;
CONFIG.SYS中的命令如FILES,BUFFERS等自动调入UMB内存,以大大节省常规内存;
执行COMMAND /C命令时可以使用回车和ESC键来选择Yes或No;
环境变量可以用在命令行上,如直接执行PATH=%PATH%;C:\TEST等,
这就是DIR ABC.%A%(WPS的临时文件)显示所有文件名为ABC的文件的原因;
REN命令可以更改文件夹的名称,就像更改文件名那样;
MORE命令可以直接分屏显示文件中的内容;
支持更长的路径名(不是指长文件名功能);
支持在输入文件和文件夹名时使用引号,尤其是对于带有空格的长文件名来说很重要,例如:MD "MyFile";
可以用COMMAND /Z命令显示ERRORLEVEL代号;
EDIT命令可以修改多个文件以及二进制文件;
DIR /V命令可以显示文件存取时间,DIR /4命令可以显示四位年份,如1999;
DIR命令可以在即使没有文件存在的情况下显示磁盘的剩余空间;
全面支持长文件名,以大大方便使用,而且提高了兼容性;
MS-DOS 7.10版完全支持FAT32分区/大硬盘(LBA分区等);
...和....等可以代表更高的父文件夹。
以及其它各种未公开选项中的功能等。
### Additional Functions in MS-DOS 7.x
As we all know, MS-DOS 7.x is the latest and most practical version of MS-DOS. Since its version number is 7, what new functions does it have compared with the old MS-DOS 6.xx? The differences between them are relatively large, and MS-DOS 7.x does have significant updates and progress. Let's make a brief comparison.
#### New Commands:
LOCK UNLOCK LFNFOR EXTRACT XMSMMGR ACCDATE
LOCK and UNLOCK are used to lock/unlock direct disk access.
LFNFOR is used to set whether to use long filenames in the FOR command.
EXTRACT is used to extract compressed files from CAB files.
XMSMMGR is an XMS manager that can be loaded directly on the command line without HIMEM.SYS.
ACCDATE is a CONFIG.SYS command to determine whether to record file access times.
There are also some other newly added undocumented commands, such as the LOGO command in CONFIG.SYS, etc.
#### New Options:
There are many new options, many of which are undocumented, such as COMMAND /T, DIR /Z, etc., which can be specifically seen in the "DOS Usage" column.
Public ones like DIR /4 to display four-digit year (in MS-DOS 7.10), DOS=AUTO, etc.
#### New Functions:
This is a very important part because some functions are indeed very practical.
MS-DOS 7.10 fully supports large memory larger than 64M, thus no longer having the memory limitations of MS-DOS 6.x;
The COMMAND.COM command processor can automatically load into UMB memory without occupying conventional memory;
Commands in CONFIG.SYS such as FILES, BUFFERS, etc., automatically load into UMB memory to greatly save conventional memory;
When executing COMMAND /C command, you can use the Enter and ESC keys to select Yes or No;
Environment variables can be used on the command line, such as directly executing PATH=%PATH%;C:\TEST,
This is the reason why DIR ABC.%A% (temporary file of WPS) displays all files named ABC;
The REN command can change the name of a folder just like changing a file name;
The MORE command can directly display the content of a file in pages;
Support longer pathnames (not referring to the long filename function);
Support using quotes when entering file and folder names, which is especially important for long filenames with spaces, for example: MD "MyFile";
You can use COMMAND /Z command to display the ERRORLEVEL code;
The EDIT command can modify multiple files as well as binary files;
The DIR /V command can display file access times, and the DIR /4 command can display four-digit year, such as 1999;
The DIR command can display the remaining space on the disk even when there are no files present;
Fully support long filenames to greatly facilitate use and improve compatibility;
MS-DOS 7.10 version fully supports FAT32 partitions/large hard disks (LBA partitions, etc.);
... and .... can represent higher parent folders.
And various other functions in undocumented options, etc.
|