ArticleslgStudy

science

List of DOS commands

List of DOS commands is a science topic covered in the lgStudy science library. This page brings together a partial reference excerpt, illustrations, worked examples, real-world applications and a short study plan, so you can understand List of DOS commands rather than just read about it. In short: This article lists notable commands provided by the MS-DOS disk operating system (DOS), especially as used on an IBM PC compatible computer. Other DOS variants as well as the legacy Windows shell, Command Prompt (cmd.exe), provide many of these commands.

Key takeaways

  • List of DOS commands belongs to science; place it in that map before memorising details.
  • Learn the definition first, then one example that makes the definition concrete.
  • Connect List of DOS commands to a quantity you can measure, compute or draw — that is where exam questions come from.
  • Reproduce the core statement of List of DOS commands from memory before moving on to harder problems.

Reference excerpt

This article lists notable commands provided by the MS-DOS disk operating system (DOS), especially as used on an IBM PC compatible computer. Other DOS variants as well as the legacy Windows shell, Command Prompt (cmd.exe), provide many of these commands. Many other DOS variants are informally called DOS, but are not included in the scope of the list. The highly related variant, IBM PC DOS, is included. The list is not intended to be exhaustive, but does include commands covering the various releases. Each command is implemented either as built-in to the command interpreter, COMMAND.COM, or as an external program. Although prevailing style is to write command names in all caps, the interpreter matches ignoring case.

Commands

APPEND Sets the path to be searched for data files or displays the current search path. The APPEND command is similar to the PATH command that tells DOS where to search for program files (files with a .COM, . EXE, or .BAT file name extension). The command is available in MS-DOS versions 3.2 and later.

ASSIGN

Redirects requests for disk operations on one drive to a different drive. It can also display drive assignments or reset all drive letters to their original assignments. The command is available in MS-DOS versions 3 through 5 and IBM PC DOS releases 2 through 5.

ATMDM Lists connections and addresses seen by Windows ATM call manager.

ATTRIB

Changes or views the attributes of one or more files. Defaults to display the attributes of all files in the current directory. The file attributes available include read-only, archive, system, and hidden attributes. The command has the capability to process whole folders and subfolders of files and also process all files. The command is available in MS-DOS versions 3 and later.

BACKUP and RESTORE These are commands to backup and restore files from an external disk. These appeared in version 2, and continued to PC DOS 5 and MS-DOS 6 (PC DOS 7 had a deversioned check). In DOS 6, these were replaced by commercial programs (CPBACKUP, MSBACKUP), which allowed files to be restored to different locations.

BASIC and BASICA

Environment for programming in BASIC. IBM computers had BASIC 1.1 in ROM, and IBM's versions of BASIC used code in this ROM-BASIC, which allowed for extra memory in the code area. BASICA last appeared in IBM PC DOS 5.02, and in OS/2 (2.0 and later), the version had ROM-BASIC moved into the program code. Microsoft released GW-BASIC for machines with no ROM-BASIC. Some OEM releases had basic.com and basica.com as loaders for GW-BASIC.EXE. BASIC was dropped after MS-DOS 4, and PC DOS 5.02. OS/2 (which uses PC DOS 5), has it, while MS-DOS 5 does not.

BREAK Instructs DOS to check whether the Ctrl and Break keys have been pressed before carrying out a program request. The command is available in MS-DOS versions 2 and later.

CALL

Starts a batch file from within another batch file and returns when that one ends. The command is available in MS-DOS versions 3.3 and later.

CD and CHDIR

Sets the working directory or with no arguments displays the current value. Both names, CD and CHDIR, refer to the same command and are abbreviations of the phrase "change directory". The command is available in MS-DOS versions 2 and later.

CHCP Either displays or changes the active code page used to display character glyphs in a console window. Similar functionality can be achieved with MODE CON: CP SELECT=yyy. The command is available in MS-DOS versions 3.3 and later.

CHKDSK

Verifies and possibly fixes data integrity of a storage volume. The command is available in MS-DOS versions 1 and later.

CHOICE

Prompts the user to select one item from a set of single-character choices. The command was introduced as an external command with MS-DOS 6.0, Novell DOS 7 and PC DOS 7.0. Earlier versions of DR-DOS supported this function with the built-in switch command (for numeric choices) or by beginning a command with a question mark. This command was formerly called ync (yes-no-cancel).

CLS

The CLS or CLRSCR command clears the terminal screen. The command is available in MS-DOS versions 2 and later.

COMMAND

Start a new instance of the command interpreter. The command is available in MS-DOS versions 1 and later.

COMP

Show differences between any two files, or any two sets of files. The command is available in MS-DOS versions 3.3 through 5 and IBM PC DOS releases 1 through 5.

COPY

Makes copies of files. The command is available in MS-DOS versions 1 and later.

CTTY Defines the terminal device (for example, COM1) to use for input and output. The command is available in MS-DOS versions 2 and later.

DATE Displays the system date and prompts the user to enter a new date. Complements the TIME command. The command is available in MS-DOS versions 1 and later.

DBLBOOT

A batch file added to DOS 6.X Supplemental Disks to help create DoubleSpace boot floppies.

DBLSPACE

A disk compression utility supplied with MS-DOS version 6.0 (released in 1993) and version 6.2.

DEBUG

A primitive assembler and disassembler.

DEFRAG

Analyzes the file fragmentation of a disk drive and defragments a drive. This command is called DEFRAG in MS-DOS/PC DOS and diskopt in DR-DOS. The command is available in MS-DOS versions 6 and later.

DEL and ERASE

Deletes files. Both names provide the same functionality. The command is available in MS-DOS versions 1 and later.

DELTREE

Deletes a directory along with all of the files and subdirectories that it contains. Normally, it will ask for confirmation of the potentially dangerous action. Since the RD (RMDIR) command can not delete a directory if the directory is not empty (except in Windows NT & 10), the DELTREE command can be used to delete the whole directory. The deltree command is included in certain versions of Microsoft Windows and MS-DOS operating systems. It is specifically available only in versions of MS-DOS 6.0 and higher, and in Microsoft Windows 9x. In Windows NT, the functionality provided exists but is handled by the command rd or rmdir which has slightly different syntax. In Windows 10, the command switch is RD /S or RMDIR /S.

DIR

… excerpt ends here. Continue reading the full article.

Worked examples

Example 1 — a first encounter with List of DOS commands

Start with the simplest possible case. Write down what List of DOS commands claims or describes in one sentence, then invent the smallest concrete situation in which that sentence is true. In science, the smallest case is usually a single object, a single equation or a single measurement. Check that every symbol or term in your sentence has a meaning in that case.

Example 2 — changing one variable

Take the situation from Example 1 and change exactly one quantity: double it, halve it, or set it to zero. Predict what should happen to List of DOS commands before you calculate. Comparing your prediction with the result is the fastest way to find out whether you understand the idea or only the words.

Example 3 — an exam-style question

Typical questions about List of DOS commands ask you to (a) state it precisely, (b) apply it to given data, and (c) explain a limitation. Practise writing all three answers in under five minutes; the third part is what separates a full-mark answer from an average one.

Applications of List of DOS commands

In research
List of DOS commands appears in science research whenever the underlying quantities have to be modelled precisely. Papers usually cite it as a starting assumption and then explore where it breaks down.
In technology and industry
Engineering practice reuses List of DOS commands in design rules, simulations and safety margins. Knowing the idea lets you read a specification sheet and understand why the numbers look the way they do.
In the classroom
List of DOS commands is common in secondary-school and first-year university syllabi. It links to neighbouring topics DOS commands, Microsoft lists, so understanding it makes those chapters shorter.
In everyday life
Look for List of DOS commands outside the textbook — in sport, cooking, traffic, electronics or the sky above you. An example you found yourself is remembered far longer than one you were given.
Ask Teacher Smith questions about this articleOpens your AI tutor with a question about “List of DOS commands” →

How to study List of DOS commands in 20 minutes

  1. Read the reference excerpt below once, without taking notes.
  2. Close the page and write down what List of DOS commands means in your own words.
  3. Compare your version with the excerpt and mark what you missed.
  4. Work through the three examples above with pen and paper.
  5. Explain List of DOS commands out loud to somebody else — or to Teacher Smith in the lgStudy chat.

Frequently asked questions

What is List of DOS commands in simple terms?

This article lists notable commands provided by the MS-DOS disk operating system (DOS), especially as used on an IBM PC compatible computer. Other DOS variants as well as the legacy Windows shell, Command Prompt (cmd.exe), provide many of these commands.

Why does List of DOS commands matter?

Because it connects several science ideas at once: it gives you a definition you can apply, a quantity you can calculate, and a way to check whether a result is plausible.

How should I study List of DOS commands?

Read the excerpt, restate it from memory, then work through the examples and applications listed on this page. The five-step study plan above takes about twenty minutes.

What does this page cover?

It gives you a compact reference excerpt plus original lgStudy explanations, examples, applications and study material on List of DOS commands.

Tags

  • DOS commands
  • Microsoft lists

Keep exploring