China DOS Union

-- Unite DOS · Advance DOS · Grow DOS --

Union site: www.cn-dos.net Forum site: www.cn-dos.net/forum
DOS stands for freedom, openness and progress. Let us work hard, learn from the openness and GNU spirit of FreeDOS and Linux, and together build and grow a free GNU GPL world!

中国DOS联盟论坛
The time now is 2026-06-25 09:15
中国DOS联盟论坛 » DOS疑难解答 & 问题讨论 (解答室) » Repost of wengier's "Frequently Asked Questions in DOS Use" DigestI View 5,496 Replies 6
Original Poster Posted 2002-10-21 00:00 ·  中国 江西 吉安 电信
版主
★★★★
Credits 7,296
Posts 1,628
Joined 2002-10-16 12:00
23-year member
UID 10
Gender Male
Status Offline
Frequently Asked Questions in DOS Use (FAQ)  ----Repost

Many netizens have asked a large number of various questions about DOS use in the guestbook, forum, or by email. Now I have sorted out part of them and compiled them into an FAQ column. Everyone is welcome to read it. The content is being continuously expanded.

Note: You can read the contents in columns such as "DOS Use" to gain more knowledge.

Frequently Asked Questions (FAQ):

Q: Why use DOS?

A: DOS is a powerful and practical operating system, and it has a large number of application programs that can complete various functions. DOS is very fast and efficient to use, and it can also do many things that other operating systems cannot do or do not do well. It can also let users master various kinds of basic knowledge that ordinary users of other operating systems (such as Windows, etc.) have not mastered, so as to use computers and handle various operations more flexibly, etc. Therefore it has many users and enthusiasts. The DOS era can be divided into two stages, namely the old DOS era and the new DOS era. The main characteristic of the former is "purity", and the main characteristic of the latter is "free and open". Everyone knows about the "open source" movement, right? With its popularity, freedom and openness have become the new trend in software development, rather than being in closed systems (such as Windows). FreeDOS, Linux, etc. are representatives of free operating systems, and have seen great development, so the new DOS era came into being. In the new DOS era, especially abroad, new DOS software is constantly updated and released, and the quality is also very high. For details, see "The Development of DOS in Recent Years". So especially for DOS users and enthusiasts, as well as people who like freedom, openness, and constant exploration, using DOS is practical and also very valuable.

Q: How do you use USB devices under DOS?

A: As mentioned in this site's "DOS Use" column, using USB devices under DOS requires drivers for USB devices. For example, OHCI/UHCI can drive devices such as USB mice, USB_CD can drive devices such as USB CD-ROM drives, DUSE can drive devices such as USB hard disks, CD-ROM drives, and floppy drives, while USB4DOS can drive other USB devices (but USB4DOS is not free software). All of the above software can be found in this site's "Drivers". Also, the "DOS Articles" column has a detailed introduction to the DUSE driver mentioned above, so everyone can go take a look. In addition, newer motherboard BIOSes also provide some functions for using USB devices and booting USB devices under DOS.

Q: How do you deal with the so-called hard disk "logic lock"?

A: Everyone knows that if a hard disk is hit by a "logic lock" (or called a "logic bomb"), it will make other boot devices in the computer that have MS-DOS installed (such as floppy disks, CDs, or other hard disks, etc.) all unable to start, so that the next step of operation cannot be carried out. In fact, the so-called "logic lock" is made by using an error in the IO.SYS file of Microsoft's MS-DOS operating system, while other DOSes, such as IBM's PC-DOS, as well as DR-DOS, FreeDOS, ROM-DOS, etc., do not have this problem. Therefore, when the hard disk is locked by a "logic lock", after booting the system with the above non-MS-DOS DOS boot disks (all can be downloaded from this site's "DOS Systems"), then executing the FDISK /MBR command can restore the hard disk to normal, which is very convenient. Of course, there are also some very troublesome and rather dangerous methods, such as hot plugging, using DM for low-level formatting, etc., all of which are methods based on the MS-DOS system and are not practical.

Q: Is there a DOS operating system that natively supports long filenames?

A: Of course there is, such as ROM-DOS 7.10. ROM-DOS is a fairly good DOS operating system. Not only does it natively and fully support long filenames, FAT32 partitions/large hard disks, as well as the TCP/IP protocol and other network components, it is also fully compatible with the most popular MS-DOS. Especially when comparing ROM-DOS 7.10 with MS-DOS 7.10, the commands in the latter can basically be used directly in the former. Not only are the version numbers the same (that is, both are version 7.10), so there will be no conflict in DOS version numbers, but all their various commands support FAT32 and long filenames, so there is no need to worry about safety and stability in these respects. Therefore, having a ROM-DOS in everyone's system is very good, especially making a ROM-DOS 7.10 boot disk, so that you can enjoy the various benefits brought by ROM-DOS. Also, unlike MS-DOS, ROM-DOS does not seem to have the so-called "logic lock" (for details, see the answer to the question above). The registered version boot disk of ROM-DOS 7.10 can be downloaded from this site's "DOS Systems". In addition, the corresponding functions in FreeDOS are also being developed.

Q: Is DOS a single-tasking operating system? Can it perform multitasking operations?

A: A so-called "single-tasking system" means that this system cannot support multitasking operations, and can only execute one task at the same time. DOS has two modes: one is native real mode, and the other is protected mode. DOS in real mode is a single-tasking environment, and in this mode usually only memory within 1M can be used. If under protected-mode DOS, not only can all memory be accessed, but multitasking can be fully achieved (just as Win3.x/9x achieved, because Win3.x/9x was originally a large protected-mode DOS software). Since DOS's usual real mode does not support multitasking, the efficiency of handling tasks in this state is naturally lower than that of a multitasking operating system, and its safety performance is naturally also not as good as a multitasking environment. Conversely, protected-mode DOS programs are very powerful and can complete multitasking and various other advanced functions and operations, but their programming difficulty is relatively much greater. However, in recent years, besides Windows, many multitasking graphical operating environments under DOS protected mode have also appeared, such as SEAL, Qube, DesqView, etc., which can be downloaded from this site's "System Enhancements".

Q: How do you install and run the complete directly runnable edition of MS-DOS 7.10?

A: MS-DOS 7.10 is a very good operating system. Not only in functions but also in practicality, it has greatly improved on the basis of MS-DOS 6.x. For details, please see the related articles in this site's "DOS Articles" column. The complete directly runnable edition of MS-DOS 7.10 is synthesized from MS-DOS 7.10's basic tools and its supplemental tools (such as DOSSHELL, MSD, etc.), and can be downloaded from this site's "DOS Systems". Extract all of its contents to the hard disk, and use the SYS command to transfer the system files (for example, execute the SYS . C: command). After restarting the system, you can directly run the full edition of MS-DOS 7.10, without needing to carry out a special installation.

Q: How do you play MP3 files through the speaker under DOS?

A: There are many players for MP3 files under DOS, such as QuickView, MPXPlay, OpenCP, DAMP, and even the old DOSAmp, etc., but most can only play using a sound card. To play MP3 files through the speaker, you can use a full-screen media software called DSS (which can be downloaded from this site's "Media Software") to play/record MP3 or WAV files using a sound card or PC speaker. The specific method is to change the device in DSS.INI to the device you want to play through. For example, 1 is Sound Blaster, 8 is PC speaker, and of course there are some other devices, such as ESS sound cards, etc.; details can be seen in its documentation. Or there is another method: first use software such as L3ENC to convert the MP3 to a WAV file, and then use software such as QuickView 1.x, SBPlay, etc. (also can be found on this site) to play the converted WAV file through the PC speaker.

Q: How do you play multimedia formats such as AVI, MOV, MPG, VCD, RealAudio, etc.?

A: There are actually quite a few programs under DOS for playing AVI and MPG formats, such as QuickView, PV, AVI4DOS, MPEGone, etc., but what I recommend is QuickView. Its functions are quite powerful. Not only can it play all of the above formats except RealAudio, it can also play MP3, GIF, JPG, and various other common music and image formats. Details can be seen in the "Media Software" and "DOS Use" columns. However, to play VCD, please run it on a computer above 586, otherwise an effect similar to a slideshow may appear. Materials and specific files for playing RealAudio format under DOS can be seen at http://members.tripod.com/~ladsoft/ra.htm.

Q: How do you extract IMG (disk image) files?

A: There are usually two methods. One is the direct extraction method, which can be done with tools such as UNDISK and DOSIMG, and is very convenient and fast; the other is to use the image file expansion method, that is, use tools such as HD-COPY to write the disk image to a floppy disk. The latter takes relatively longer, and during the process it will automatically format the floppy disk, and it is not flexible. However, when making a boot disk, compared with the former, the latter saves the process of using the SYS command to transfer system files to the boot disk (for example, executing the SYS . A: command).

Q: How do you use the floppy disk capacity-expansion tool 2M 3.0?

A: 2M 3.0 is a powerful floppy disk capacity-expansion tool, supporting many types of floppy disks. For example, it can expand a 1.44M floppy disk to nearly 2M. It has many files, and the basic usage is:

1: 2MF.EXE file, formats a 1.44M floppy disk into the 2M format recognized by this software.
2: 2M.COM or 2M.SYS file, after loading it, you can use the 2M floppy disk formatted by the above 2MF, and at this time you can use this floppy disk as 2M; you can use the 2M/U command to uninstall the 2M program, but once 2M is uninstalled, that 2M-format floppy disk cannot be recognized, unless the 2M program is run again.
3: As for files such as 2M-INFO.EXE, you can read their documentation.

Q: How do you set the display refresh rate under DOS?

A: DOS's default display refresh rate on many graphics cards is 60MHz, not the higher 70MHz, 85MHz, or even 100MHz, which causes it sometimes to look very uncomfortable, especially in graphics mode. At this time, you need to solve it by setting the display refresh rate. For example, UniRfrsh is a relatively good software for setting the display refresh rate, and can be found in this site's "Display Tools". It is a TSR-mode program, and the first time you need to use the SETUP full-screen setup tool to configure it. Afterward, each time you only need to run the UNIRFRSH command to load it. The specific setup method is first, in the "Configre monitor" item in its main menu, enter the maximum/minimum horizontal/vertical refresh rates of the graphics card according to your graphics card's specifications, such as setting the maximum horizontal refresh rate (the first item) to 45MHz, etc. (the minimum refresh rate can be ignored). Then select "Auto Configuration" in the main menu. When prompted for the refresh rate limit value, you can use 85MHz, etc. Then set it in the first item of the main menu, "View/set refresh rates". Under the required screen mode, press Enter and enter the desired screen refresh rate. Then you can press T to test it. If it can display normally, that means it is OK. After setting it, save and exit, and UniRfrsh setup is complete. However, one thing to note is that it needs a graphics card supporting VBE 3.0+ to run. If your graphics card does not support VBE 3.0+, you can use the Scitech Display Doctor(SDD) driver, which can be found in this site's "Drivers". SDD will use a software method to let many graphics cards that do not support VBE 3.0 be able to support it. Once VBE 3.0+ can be supported, you can use the above UNIRFRSH program to set the refresh rate. Of course, there are also other display refresh rate setting software under DOS, such as VBEHz, etc.

Q: How do you use the PCMCIA card driver CardSoft?

A: CardSoft has two running methods. One is the direct installation method. First extract it to the root folder (if it is in a subfolder, you can use the SUBST command to virtualize it as a root folder), and execute INSTALL (DOS) or SETUP (Win3.x) to install. The other is the direct running method, that is, directly execute the executable files inside to configure the PCMCIA card, such as SSCIRRUS.EXE, SSVLSI.EXE, etc. These executable files respectively correspond to various different brands of PCMCIA cards. Then execute commands such as CS.EXE, CSALLOC.EXE, etc. to perform specific allocation. You can use the CARDINFO command inside to view information in the PCMCIA card. In addition, PC-DOS comes with PCMCIA card support and does not need a special driver.

Q: How do you download files through the DOS command line?

A: There are many ways to download files under DOS, such as downloading with a browser, FTP downloading, downloading by command line, etc. For downloading files directly on the DOS command line, the most convenient method is to use software called WGET, which can be downloaded in "Network Tools". You can also download the "Internet Tools" toolkit there, which also contains it. Its functions are quite powerful, including breakpoint resume, downloading files according to a file list, and many other functions. The specific usage method can be viewed with the WGET -h command, but the simplest usage is to directly enter the URL address after it. FTP or HTTP and other protocols are all OK. Before running it, you need to load the Packet driver for the network device.

Q: When going online under DOS, how do you view the local machine's IP address on the command line?

A: For different network driver interfaces, there are different viewing methods. For example, when using Microsoft Network Client 3.0, you can use its built-in IPCONFIG command to view the local machine's IP address (very similar to the IPCONFIG command in the Win9x/NT DOS window); if using the standard Packet driver for Internet under DOS, you can use the TCPINFO command in DOSRPD to carry out this operation. It can run separately from DOSRPD (DOSRPD can be downloaded from this site's "Network Tools"). For everyone's convenience, I combined commands such as TCPINFO into "Internet Tools", which can be downloaded in "Network Tools".

Q: How do you get the drive letter where the CD-ROM drive is located?

A: You can use the FINDCD program in this site's "Script Tools" to automatically display the drive letter of the CD-ROM drive, such as the findcd -a command. However, for some CD-ROM drives, it cannot recognize them. Therefore, I wrote a batch file. It will automatically search for the drive letter where the CD-ROM drive is located, display the result, and store it in the environment variable %CDROM%. However, it needs two batch file enhancement programs, Strings 2.5 and XSET 5.47, both of which can be downloaded from this site's "Script Tools". The contents of the file are as follows:

@echo off
set dn=66
set cdrom=
:count
strings dn=add %dn%,1
strings dr=char %dn%
xset /search "CDROM" drv drivetest %dr%
if not %drv%#==# goto ok
if %dn%#==90# goto no
goto count
:ok
set cdrom=%dr%
echo The CD-ROM drive letter %cdrom% has been assigned to the variable "CDROM".
goto end
:no
echo No CD-ROM found!
:end
set dr=
set dn=
set drv=
echo.

This example determines the drive letter where the CD-ROM drive is located. If you want to determine the drive letter where another storage device (or RAM disk, etc.) is located, just change "CDROM" in the "xset /search "CDROM" drv drivetest %dr%" line in the above file to another name. For example, for a RAM disk, you can use "RAM" to replace "CDROM".

[ Last edited by willsort on 2005-8-17 at 22:14 ]
ko20010214
=================================
大功告成,打个Kiss!
ko20010214@MSN.com
神州优雅Q300C
Intel CeleronM 370处理器 | 256MbDDR内存
40G硬盘 | USB2.0 | IEEE 1394
13.3 ' WXGA 宽屏(16:10) | COMBO光驱
10/100M网卡 | 四合一读卡器
Floor 2 Posted 2002-12-16 00:00 ·  中国 山东 滨州 联通
高级用户
★★
Credits 948
Posts 271
Joined 2002-12-13 00:00
23-year member
UID 502
Gender Male
From sd
Status Offline
Thank you so much, very good, I learned quite a lot more. But I still feel programs under DOS are too much trouble, not as convenient as Windows, so I also haven't used DOS for a long time, only using fdisk when partitioning. After hearing you explain it like this, it seems it is still necessary to pick it back up, and I need to learn it again from the beginning.
Floor 3 Posted 2003-02-18 00:00 ·  中国 湖南 长沙 电信
初级用户
Credits 238
Posts 43
Joined 2003-02-18 00:00
23-year member
UID 949
Gender Male
Status Offline
Thank you very much, I learned quite a lot
Floor 4 Posted 2003-02-18 00:00 ·  中国 湖南 长沙 电信
初级用户
Credits 238
Posts 43
Joined 2003-02-18 00:00
23-year member
UID 949
Gender Male
Status Offline
This site's "Drivers" section doesn't seem to be open?
Floor 5 Posted 2003-02-18 00:00 ·  美国 肯塔基州 费耶特县 列克星敦 Charter_Communications
系统支持
★★★★★★
“新DOS时代”站长
Credits 27,736
Posts 10,521
Joined 2002-10-09 12:00
23-year member
UID 9
Status Offline
"This site's Drivers" has been there for a long time, see:
http://newdos.yginfo.net/doswarec.htm
Wengier - 新DOS时代

欢迎大家来到我的“新DOS时代”网站,里面有各类DOS软件和资料,地址:
http://wendos.mycool.net/

E-Mail & MSN: wengierwu AT hotmail.com (最近比较忙,有事请联系DOSroot和雨露,谢谢!)

Floor 6 Posted 2005-03-01 00:00 ·  中国 重庆 南岸区 电信
初级用户
Credits 102
Posts 1
Joined 2005-03-01 00:00
21-year member
UID 36623
Gender Male
Status Offline
Good post, I'll reply, !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
Floor 7 Posted 2005-03-05 00:00 ·  中国 山东 济宁 电信
中级用户
★★★
痴迷DOS者
Credits 456
Posts 570
Joined 2004-10-09 00:00
21-year member
UID 32281
Gender Male
Status Offline
Wenjie'er is just all brawn (pretty good at banging on the keyboard) and no brains (loves exploiting loopholes in M$). Give him a little sunshine and he glows (foreign websites all praise him). Give him a little spit and he floods over (domestic websites all criticize him, and he still claims he did a good job).
DOS不是万能的,没有DOS是万万不能的
自古系统谁无死?留取胆清照汗青!uploadImages/20035317345478982.png
Forum Jump: