Site hosted by Angelfire.com: Build your free website today!
Chapter 39: Running DOS Programs and Commands

PreviousChapterContentsGlossaryNext

What Is DOS?

MS-DOS (or DOS, Disk Operating System, for short) is a simple operating system that was the predecessor to Windows. DOS version 1.0 was created in about 1981, and later versions--through DOS 6.22--added features and supported more recent hardware. Early versions of Windows (through 3.11) were add-ons for DOS--first you installed DOS on your computer, then you installed Windows, and then you started Windows from the DOS command prompt. Windows 95, 98, 98SE, Me, and XP still have a version of DOS buried inside them, although Microsoft's engineers have integrated almost all of the DOS functions into Windows.

DOS provides only disk file management and the most rudimentary support for the screen, keyboard, mouse, timer, and other peripherals. As a result, interactive DOS programs (programs written to work with DOS rather than Windows) need to create their own user interfaces, usually by directly operating the hardware controllers for the screen and sometimes other devices. DOS supports only 640KB of memory, and the base functions of all DOS applications must fit inside of this limited space. Subsequently, Microsoft and other companies developed a variety of add-on drivers to allow DOS to handle larger amounts of memory, including expanded memory (EMS memory) and extended memory (XMS memory).

DOS doesn't have a graphical user interface (GUI) and usually doesn't display windows or work with a mouse. Instead, you type commands at the DOS prompt, a symbol that indicates DOS is waiting for you to type a command line (a command, optionally followed by additional information). The default DOS prompt is C:\&ra;. This method of typing commands at a prompt is called a command-line interface (CLI).

Windows, on the other hand, provides extensive facilities to handle the screen and keyboard, as well as sophisticated memory management, which all Windows applications use. These facilities make it difficult to run some DOS programs in Windows, because the DOS programs and Windows can't both control the same hardware at the same time. The DOS VM eliminates most of those hurdles and makes it easier to run pesky DOS programs.

What Are DOS Names?

Each file and folder in Windows has a DOS name, an eight-or-fewer-character name that resembles its real name, but that is legal under the pre-Windows 95 file-naming rules. The DOS name exists for the purpose of backward compatibility; programs written for DOS or older versions of Windows might crash if Windows hands them files with long names and previously illegal characters. So, when dealing with pre-Windows 95 application programs, Windows pretends nothing has changed and gives the application the DOS name of a file rather than its real name. The DOS name is usually the first six characters of the filename, followed by a tilde (~) and a number. The extension part of the DOS name is the first three characters of the extension.

DOS names are invisible in Windows, but you still may see them if you run an older application. If the file you named My Summer Vacation.doc shows up later as MYSUMM~1.DOC, you'll know what happened.

PreviousChapterContentsGlossaryNext