- Great Painters
- Accounting
- Fundamentals of Law
- Marketing
- Shorthand
- Concept Cars
- Videogames
- The World of Sports

- Blogs
- Free Software
- Google
- My Computer

- PHP Language and Applications
- Wikipedia
- Windows Vista

- Education
- Masterpieces of English Literature
- American English

- English Dictionaries
- The English Language

- Medical Emergencies
- The Theory of Memory
- The Beatles
- Dances
- Microphones
- Musical Notation
- Music Instruments
- Batteries
- Nanotechnology
- Cosmetics
- Diets
- Vegetarianism and Veganism
- Christmas Traditions
- Animals

- Fruits And Vegetables


  1. Adobe Reader
  2. Adware
  3. Altavista
  4. AOL
  5. Apple Macintosh
  6. Application software
  7. Arrow key
  8. Artificial Intelligence
  9. ASCII
  10. Assembly language
  11. Automatic translation
  12. Avatar
  13. Babylon
  14. Bandwidth
  15. Bit
  16. BitTorrent
  17. Black hat
  18. Blog
  19. Bluetooth
  20. Bulletin board system
  21. Byte
  22. Cache memory
  23. Celeron
  24. Central processing unit
  25. Chat room
  26. Client
  27. Command line interface
  28. Compiler
  29. Computer
  30. Computer bus
  31. Computer card
  32. Computer display
  33. Computer file
  34. Computer games
  35. Computer graphics
  36. Computer hardware
  37. Computer keyboard
  38. Computer networking
  39. Computer printer
  40. Computer program
  41. Computer programmer
  42. Computer science
  43. Computer security
  44. Computer software
  45. Computer storage
  46. Computer system
  47. Computer terminal
  48. Computer virus
  49. Computing
  50. Conference call
  51. Context menu
  52. Creative commons
  53. Creative Commons License
  54. Creative Technology
  55. Cursor
  56. Data
  57. Database
  58. Data storage device
  59. Debuggers
  60. Demo
  61. Desktop computer
  62. Digital divide
  63. Discussion groups
  64. DNS server
  65. Domain name
  66. DOS
  67. Download
  68. Download manager
  69. DVD-ROM
  70. DVD-RW
  71. E-mail
  72. E-mail spam
  73. File Transfer Protocol
  74. Firewall
  75. Firmware
  76. Flash memory
  77. Floppy disk drive
  78. GNU
  79. GNU General Public License
  80. GNU Project
  81. Google
  82. Google AdWords
  83. Google bomb
  84. Graphics
  85. Graphics card
  86. Hacker
  87. Hacker culture
  88. Hard disk
  89. High-level programming language
  90. Home computer
  91. HTML
  92. Hyperlink
  93. IBM
  94. Image processing
  95. Image scanner
  96. Instant messaging
  97. Instruction
  98. Intel
  99. Intel Core 2
  100. Interface
  101. Internet
  102. Internet bot
  103. Internet Explorer
  104. Internet protocols
  105. Internet service provider
  106. Interoperability
  107. IP addresses
  108. IPod
  109. Joystick
  110. JPEG
  111. Keyword
  112. Laptop computer
  113. Linux
  114. Linux kernel
  115. Liquid crystal display
  116. List of file formats
  117. List of Google products
  118. Local area network
  119. Logitech
  120. Machine language
  121. Mac OS X
  122. Macromedia Flash
  123. Mainframe computer
  124. Malware
  125. Media center
  126. Media player
  127. Megabyte
  128. Microsoft
  129. Microsoft Windows
  130. Microsoft Word
  131. Mirror site
  132. Modem
  133. Motherboard
  134. Mouse
  135. Mouse pad
  136. Mozilla Firefox
  137. Mp3
  138. MPEG
  139. MPEG-4
  140. Multimedia
  141. Musical Instrument Digital Interface
  142. Netscape
  143. Network card
  144. News ticker
  145. Office suite
  146. Online auction
  147. Online chat
  148. Open Directory Project
  149. Open source
  150. Open source software
  151. Opera
  152. Operating system
  153. Optical character recognition
  154. Optical disc
  155. output
  156. PageRank
  157. Password
  158. Pay-per-click
  159. PC speaker
  160. Peer-to-peer
  161. Pentium
  162. Peripheral
  163. Personal computer
  164. Personal digital assistant
  165. Phishing
  166. Pirated software
  167. Podcasting
  168. Pointing device
  169. POP3
  170. Programming language
  171. QuickTime
  172. Random access memory
  173. Routers
  174. Safari
  175. Scalability
  176. Scrollbar
  177. Scrolling
  178. Scroll wheel
  179. Search engine
  180. Security cracking
  181. Server
  182. Simple Mail Transfer Protocol
  183. Skype
  184. Social software
  185. Software bug
  186. Software cracker
  187. Software library
  188. Software utility
  189. Solaris Operating Environment
  190. Sound Blaster
  191. Soundcard
  192. Spam
  193. Spamdexing
  194. Spam in blogs
  195. Speech recognition
  196. Spoofing attack
  197. Spreadsheet
  198. Spyware
  199. Streaming media
  200. Supercomputer
  201. Tablet computer
  202. Telecommunications
  203. Text messaging
  204. Trackball
  205. Trojan horse
  206. TV card
  207. Unicode
  208. Uniform Resource Identifier
  209. Unix
  210. URL redirection
  211. USB flash drive
  212. USB port
  213. User interface
  214. Vlog
  215. Voice over IP
  216. Warez
  217. Wearable computer
  218. Web application
  219. Web banner
  220. Web browser
  221. Web crawler
  222. Web directories
  223. Web indexing
  224. Webmail
  225. Web page
  226. Website
  227. Wiki
  228. Wikipedia
  229. WIMP
  230. Windows CE
  231. Windows key
  232. Windows Media Player
  233. Windows Vista
  234. Word processor
  235. World Wide Web
  236. Worm
  237. XML
  238. X Window System
  239. Yahoo
  240. Zombie computer

This article is from:

All text is available under the terms of the GNU Free Documentation License: 


From Wikipedia, the free encyclopedia

This screen shows the help information for the often-used MS-DOS dir command. DOS commonly uses a command line interface, in contrast to more modern operating systems which generally include a graphical user interface.
This screen shows the help information for the often-used MS-DOS dir command. DOS commonly uses a command line interface, in contrast to more modern operating systems which generally include a graphical user interface.

DOS commonly refers to the family of closely related operating systems which dominated the IBM PC compatible market between 1981 and 1995 (or until about 2000, if Windows versions 95, 98, and M.E. are included) : PC-DOS, MS-DOS, FreeDOS, DR-DOS, Novell-DOS, OpenDOS, PTS-DOS, ROM-DOS and several others. They are single user, single task systems. MS-DOS from Microsoft was the most widely used. These operating systems ran on IBM PC type hardware using the Intel x86 CPUs or their compatible cousins from other makers. MS-DOS is still common today and was the foundation for many of Microsoft's operating systems (from Windows 1.0 through Windows Me). MS-DOS was later abandoned as the foundation for their operating systems.


MS-DOS (and the IBM PC-DOS which was licensed therefrom), and its predecessor, QDOS, was an imitation of CP/M (Control Program / (for) Microcomputers) which was the dominant operating system for 8-bit Intel 8080 and Zilog Z80 based microcomputers.

It was first developed at Seattle Computer Products by Tim Paterson as a variant of CP/M-80 from Digital Research, but intended as an internal product for testing SCP's new 8086 CPU card for the S-100 bus. It did not run on the 8080 (or compatible) CPU needed for CP/M-80. It was called QDOS, among several other names. Microsoft licensed it from SCP, made changes and licensed the result to IBM (sold as PC-DOS) for its new 'PC' using the 8088 CPU (internally the same as the 8086), and to many other hardware manufacturers. In the later case it was sold as MS-DOS.

Digital Research produced a compatible t known as "DR-DOS", which was eventually taken over (after a buyout of Digital Research) by Novell. This became "OpenDOS" for a while after the relevant division of Novell was sold to Caldera International, now called SCO. Later, the embedded division of Caldera was "spun off" as Lineo (later renamed Embedix), who in turn sold DR-DOS to a start-up called Device Logics, who now seem to call themselves DRDOS, Inc.

There is also a free alternative named "FreeDOS".

DOS was one of the first operating systems for the PC compatible platform, and the first on that platform to gain widespread use (it was still widespread more than 10 years later). This was a quick and messy affair (the variant MS-DOS, sometimes colloquially referred to as Messy DOS, was developed from QDOS, which literally meant "Quick and Dirty Operating System").

IBM-PCs were only distributed with PC-DOS, whereas PC compatible computers from nearly all other manufacturers were distributed with MS-DOS. For the early years of this operating system family, PC-DOS was almost identical to MS-DOS. More recently, free versions of DOS such as FreeDOS and OpenDOS have started to appear.

Early versions of Microsoft Windows were little more than a graphical shell for DOS, and later versions of Windows were tightly integrated with MS-DOS. It is also possible to run DOS programs under OS/2 and Linux using virtual-machine emulators.

Because of the long existence and ubiquity of DOS in the world of the PC-compatible platform (DOS compatible programs were made well into the 90's), DOS was often considered to be the native operating system of the PC compatible platform.


Microsoft bought non-exclusive rights for marketing QDOS on December 1980. On July 1981, Microsoft bought exclusive rights for 86-DOS, which was the next version of QDOS.

The first version, PC-DOS 1.0, was released in August, 1981. It supported up to 256 kB of RAM and two 160 kB 5.25" single sided floppy disks.

In May 1982, PC-DOS 1.1 added support for 320 kB double-sided floppy disks.

PC-DOS 2.0 and MS-DOS 2.0, released in March 1983, were the first versions to support the PC/XT and fixed disk drives (commonly referred to as hard disk drives). Floppy disk capacity was increased to 180 kB (single sided) and 360 kB (double sided) by using nine sectors per track instead of eight.

At the same time, Microsoft announced its intention to create a GUI for DOS. Its first version, Windows 1.0, was announced on November 1983, but was unfinished and did not interest IBM. By November 1985, the first finished version, Microsoft Windows 1.01, was released.

MS-DOS 3.0, released in September 1984, first supported 1.2Mb floppy disks and 32Mb hard disks. MS-DOS 3.1, released November that year, introduced network support.

MS-DOS 3.2, released in April 1986, was the first retail release of MS-DOS. It added support of 720 kB 3.5" floppy disks. Previous versions had been sold only to computer manufacturers who pre-loaded them on their computers, because operating systems were considered part of a computer, not an independent product.

MS-DOS 3.3, released in April 1987, featured logical disks. A physical disk could be divided into several partitions, considered as independent disks by the operating system. Support was also added for 1.44 MB 3.5" floppy disks.

MS-DOS 4.0, released in July 1988, supported disks up to 2 GB (typical disk sizes were typically 40-60 MB in 1988), and added a full-screen shell called DOSSHELL. Other shells, like Norton Commander and PCShell, already existed in the market. In November of 1988, Microsoft addressed many bugs in a service release, MS-DOS 4.01.

MS-DOS 5.0, released in April 1991, included the full-screen BASIC interpreter QBasic, which also provided a full-screen text editor (previously, MS-DOS had only a line-based text editor, edlin). A disk cache utility (SmartDrive), undelete capabilities, and other improvements were also included. It had severe problems with some disk utilities, fixed later in MS-DOS 5.01, released later in the same year.

In March 1992, Microsoft released Windows 3.1, which became the first popular version of Microsoft Windows, with more than 1,000,000 purchasing the graphical user interface.

In March 1993, MS-DOS 6.0 was released. Following competition from Digital Research, Microsoft added a disk compression utility called DoubleSpace. At the time, typical hard disk sizes were about 200-400 MB, and many users badly needed more disk space. MS-DOS 6.0 also featured the disk defragmenter DEFRAG, backup program MSBACKUP, memory optimization with MEMMAKER, and rudimentary virus protection via MSAV.

As with versions 4.0 and 5.0, MS-DOS 6.0 turned out to be buggy. Due to complaints about loss of data, Microsoft released an updated version, MS-DOS 6.2, with an improved DoubleSpace utility, a new disk check utility, SCANDISK (similar to fsck from Unix), and other improvements.

The next version of MS-DOS, 6.21 (released March 1994), appeared due to legal problems. Stac Electronics sued Microsoft and forced it to remove DoubleSpace from their operating system.

In May 1994, Microsoft released MS-DOS 6.22, with another disk compression package, DriveSpace, licensed from VertiSoft Systems.

MS-DOS 6.22 was the last stand-alone version of MS-DOS available to the general public. MS-DOS was removed from marketing by Microsoft on November 30, 2001. See the Microsoft Licensing Roadmap.

Microsoft also released versions 6.23 to 6.25 for banks and American military organizations. These versions introduced FAT32 support. Since then, MS-DOS exists only as a part of Microsoft Windows versions based upon Windows 95 (e.g. Windows 98, Windows Me). The original release of Microsoft Windows 95 incorporates MS-DOS version 7.0.

IBM released the last commercial version of a DOS - IBM PC-DOS 7.0 - in early 1995. It incorporated many new utilities such as anti-virus software, comprehensive backup programs, PCMCIA support, and DOS Pen extensions. Also incorporated were new features to enhance the available memory and disk space.

Accessing hardware under DOS

The operating system offers a hardware abstraction layer that although adequate for developing character-based applications is woefully inadequate for accessing most of the hardware (such as the graphics hardware). This led to application programmers accessing the hardware directly. The result of this was that each application would have to have a set of device drivers written for it to use the various types of hardware on offer (different printers, etc.), and when some new hardware was released, the hardware manufacturers would have to make sure that device drivers for their hardware for the popular applications became available.

DOS and other PC operating systems

Early versions of Microsoft Windows are "shell-type" programs that ran under DOS. Later versions were launched under DOS but "extended" it by going into protected mode. Still later versions of MS Windows ran independently of DOS but included much of the old code such that it could run in virtual machines under the new OS and the latest versions of MS Windows are continually dropping ever more of the DOS ancestry. Windows Me was the last Microsoft OS to run on DOS; operating systems in the Windows NT line (including the post-NT 4.0 versions, such as Windows 2000 and Windows XP, which aren't marketed as "Windows NT") are not based on DOS.

Under Linux (running on x86-based systems) it's possible to run copies of DOS and many of its clones under dosemu (a Linux native virtual machine program for running real mode programs). There are a number of other emulators for running DOS and/or DOS-based software under various versions of UNIX, even on non-x86 platforms; one such emulator is DOSBox.

Reserved device names under DOS

There are reserved device names in DOS that cannot be used as filenames regardless of extension; these restrictions also affect several Windows versions, in some cases causing crashes and security vulnerabilities.

A partial list of these reserved names is: NUL:, COM1: or AUX:, COM2:, COM3:, COM4:, CON:, LPT1: or PRN:, LPT2:, LPT3:, and CLOCK$.

More recent versions of both MS-DOS and IBM-DOS allow reserved device names without the trailing colon; e.g., PRN refers to PRN:.

The NUL filename redirects to a null file, similar in function to the UNIX device /dev/null. Is best suited for being used in batch command files for discarding unneeded output. If NUL is copied to a file that already exists, it will truncate the target file; otherwise, a zero byte file will be created. (Thus, copy NUL foo is functionally similar to the UNIX commands cat </dev/null >foo and cp /dev/null foo.) Naming a file as NUL, regardless of extension, could cause unpredictable behavior in most applications. Well-behaved applications will generate an error stating that NUL is a DOS reserved filename; others, "save" the file (but as NUL represents a null file, whatever the program saved is lost), and some applications may hang or leave the computer in an inconsistent state, and a reboot may be needed.

Drive naming scheme

Under Microsoft's DOS operating system and its derivatives drives are referred to by identifying letters. Standard practice is to reserve "A" and "B" for floppy drives. On systems with only one floppy drive DOS permits the use of both letters for one drive, and prompts to swap disks. This allows for copying from floppy to floppy (this isn't a very fast method though as it generally ends up asking for disk swaps far more often than really needed) or having a program run from one floppy whilst having its data on another. Hard drives were originally assigned the letters "C" and "D", but as support for more hard drives became available this developed into assigning the primary partitions on each drive (DOS only allows a single active primary partition per drive even though the partitioning system allowed for more) letters first, then making a second pass over the drives to allocate letters to logical drives in the extended partitions. Letters for CD-ROMs, RAM disks and other things are allocated after the hard drive partitions. This is often done simply in the order the drivers were loaded, although many drivers can be specifically instructed to take a different letter. Network drives are usually given letters much further on in the alphabet by the network driver software so that they are generally out of the way of this system.

Because these letters are used directly by normal applications (unlike the /dev/* names in Unix-like operating systems), the addition of an additional hard drive can be disruptive to applications, which then require reconfiguration or even reinstallation. This is especially true if there are logical drives in an extended partition on the original hard drive and the new hard drive has a primary partition, as it would then cause the logical drives on the first hard drive to change letters. However, even if the new hard drive had only logical drives in an extended partition it would still disrupt the letters of RAM disks and CD-ROM drives. This disruptive system persisted through the 9x versions of Windows but NT adopts a slightly different system. It uses the traditional rules when first installing but after that it tries to preserve the letters of existing drives until you change it.

DOS emulators

Under Linux it is possible to run copies of DOS and many of its clones under DOSEMU, a Linux-native virtual machine for running real mode programs. There are a number of other emulators for running DOS under various versions of UNIX, even on non-x86 platforms.

DOS emulators are recently sought after, even by Windows XP users, due to the incompatibility of the system with pure DOS. Many users find difficulty to play 'abandonware' games made for DOS. One of the most famous emulators, made specifically for gaming, is DOSBox, a windowed (optionally fullscreen) DOS emulator for modern operating systems.

See also

  • Wine (software)

External links

  • Club Dr-DOS Wiki - Wiki for Dr-DOS, OpenDOS, Novell-DOS, additional info and news about general DOS
  • Softpanorama DOS history Page
  • Richard Bonner's DOS website
  • Game demos by ID Software for DOS
  • Batfiles: The DOS batch file programming handbook and tutorial
  • MS-DOS Reference Not just for MS-DOS but also for other DOSses on the PC platform.
  • DOS and Windows timeline
  • Linux/dosemu
  • Old Os Information and downloads for DOS users (including some freeware utilities)
  • Ralf Brown's Interrupt List
  • Umberto Eco - The Holy War: Mac vs. DOS
  • - Comprehensive DOS version resource
  • FreeDOS (can be downloaded)
  • PC-DOS
  • ExtDOS
  • Dos History Timeline
Retrieved from ""