Vous êtes sur la page 1sur 12

E X A M P L E S

MICROSOFT CROSS-REFERENCING
QUICK COMMAND INDEX
COMPLETE LIST OF ALL WINDOWS COMMANDS
COMPLETE LIST OF ALL DOS COMMANDS
ACTUAL COMMAND SAMPLES FROM THE BOOK

--------------------------------------------------------------------------------

Complete DOS Command List

The following is a complete list of all DOS Commands and their descriptions from
the Universal Command Guide for Operating Systems. The Universal Command Guide for
Operating Systems also includes all of the command options, switches and parameters
as well as real world examples that demonstrate how to use the commands. We also
give you tips and notes on how to use the commands and when. You will not find even
one command missing from this list. We literally scanned the entire file system and
included absolutely every executable file and script we found.

If you can find even one DOS command that is not included please email me
immediately at Missing Command. In the event that a command is missing from this
list and out of the Universal Command Guide for Operating Systems, it must not have
been included in the base distribution of the operating system. The command must
have come from an additional software package or from another version of the
operating system.

This is the complete list of DOS Commands from DOS 6.22

--------------------------------------------------------------------------------

ansi.sys Chapter 8
Defines functions that control cursor movement, reassign keys, and change display
graphics. This command can only be used in the CONFIG.SYS file.

--------------------------------------------------------------------------------

append Chapter 8
Allows programs to open files in different directories as if they are in the
current directory.

--------------------------------------------------------------------------------

attrib Chapter 8
Modifies the file or directory attribute. If used with no parameters, the file
attributes are shown for all the files in the current directory.

--------------------------------------------------------------------------------

autoexec.bat Chapter 8
Is the startup file that runs when your computer is started and executes any
commands specified from the top down.

--------------------------------------------------------------------------------

break Chapter 8
Enables or disables extended Ctrl+C checking The second syntax is used in the
CONFIG.SYS file.

--------------------------------------------------------------------------------

buffers Chapter 8
Allocates memory for a specified number of disk buffers. This command only works in
the CONFIG.SYS file.

--------------------------------------------------------------------------------

cd, chdir Chapter 8


Changes or shows the current directory.

--------------------------------------------------------------------------------

chcp Chapter 8
Shows or changes the number of the active code page.

--------------------------------------------------------------------------------

chkdsk Chapter 8
Shows a status report for a disk. It can also find and repair errors. If no
parameters are given, the status of the current drive is shown.

--------------------------------------------------------------------------------

choice Chapter 8
Is used in batch program to prompt the user to make a choice. If used without any
parameters it will prompt for yes (Y) or no (N). ERRORLEVEL is set to the offset of
the presses key.

--------------------------------------------------------------------------------

cls Chapter 8
Clears the screen.

--------------------------------------------------------------------------------

command Chapter 8
Starts a new instance of the MS-DOS command interpreter. The second syntax is used
in the CONFIG.SYS file.

--------------------------------------------------------------------------------

config.sys Chapter 8
Is a text file used to add device drivers to the operating system and configure how
the operating system performs.

--------------------------------------------------------------------------------

copy Chapter 8
Copies one or more files to a specified location or combines several files into
one.

--------------------------------------------------------------------------------

country Chapter 8
Enables the use of country specific conventions for showing times, dates and
currency. This command can only be used in the CONFIG.SYS file.

--------------------------------------------------------------------------------

ctty Chapter 8
Changes the terminal device used to control the computer.

--------------------------------------------------------------------------------

date Chapter 8
Shows the current date and prompts for a new date if no date is specified.

--------------------------------------------------------------------------------

debug Chapter 8
Tests and debugs MS-DOS executable files, when the program starts a command prompt
is invoked where the debug commands are typed in.

--------------------------------------------------------------------------------

defrag Chapter 8
Reorganizes the files to optimize disk performance.

--------------------------------------------------------------------------------

del, erase Chapter 8


Deletes one or more files.

--------------------------------------------------------------------------------

deltree Chapter 8
Deletes a directory, including any file or directory it contains.

--------------------------------------------------------------------------------

device Chapter 8
Loads a device driver into memory. This command can only be used in the CONFIG.SYS
file.

--------------------------------------------------------------------------------

devicehigh Chapter 8
Loads a device driver into the upper memory area.

--------------------------------------------------------------------------------

dir Chapter 8
Lists of the files and subdirectories.

--------------------------------------------------------------------------------

diskcomp Chapter 8
"Compares the contents of two floppy disks. If no parameter is given, the active
drive is used

--------------------------------------------------------------------------------

diskcopy Chapter 8
Copies the contents of one floppy disk to another. If no parameters is given the
current drive are used as both or if only the first is specified the current is
used as the second.

--------------------------------------------------------------------------------

DOS Chapter 8
Loads parts of MS-DOS into the High Memory Area (HMA) and / or maintain a link to
the Upper Memory Block (UMB). This command can only be used in the CONFIG.SYS file.

--------------------------------------------------------------------------------

doskey Chapter 8
Recalls and edits command lines previously written. Also used to create macros.

--------------------------------------------------------------------------------

dosshell Chapter 8
Starts the MS-DOS Shell in either in graphic or text mode.

--------------------------------------------------------------------------------

driver.sys Chapter 8
Creates a logical drive that can refer to a physical floppy disk. This driver must
be loaded in the CONFIG.SYS file.

--------------------------------------------------------------------------------

drivparm Chapter 8
Defines parameters for devices (such as disk and tape drives), when MS-DOS starts.
This command can only be used in the CONFIG.SYS file.

--------------------------------------------------------------------------------

drvspace Chapter 8
Drvspace is used to compress or configure hard drives or floppy disks that were
compressed by DriveSpace

--------------------------------------------------------------------------------

echo Chapter 8
Show or hides text in batch programs.

--------------------------------------------------------------------------------

edit Chapter 8
Is a ASCII editor that creates and edits ASCII files. If no parameters are given,
the editor starts with a blank document.

--------------------------------------------------------------------------------

emm386 Chapter 8
Provides access to the upper memory area and simulates expanded memory with
extended memory. Must be loaded with syntax 1 in CONFIG.SYS before it can be used
at the command line.

--------------------------------------------------------------------------------

exit Chapter 8
Exits the MS-DOS command interpreter and return to the program that started it.

--------------------------------------------------------------------------------

expand Chapter 8
Expands compressed files.

--------------------------------------------------------------------------------

fasthelp Chapter 8
Shows help on the specified command. If no command is specified all commands in MS-
DOS is shown.

--------------------------------------------------------------------------------

fastopen Chapter 8
Improves performance on computer with large directories. This is done by monitoring
the location of files stored on the hard disk, and storing that information.

--------------------------------------------------------------------------------

fc Chapter 8
Identifies the difference between two files.

--------------------------------------------------------------------------------

fcbs Chapter 8
Specifies the number of file control blocks (FCBs) that MS-DOS can have open at the
same time. This command can only be used in the CONFIG.SYS file.

--------------------------------------------------------------------------------

fdisk Chapter 8
Is a disk partition utility. It can create or delete a partition, set active
partition, or show partition information.

--------------------------------------------------------------------------------

files Chapter 8
Specifies how many files MS-DOS can access at one time. This command can only be
used in the CONFIG.SYS file.

--------------------------------------------------------------------------------

find Chapter 8
Searches for text strings in a file or files.

--------------------------------------------------------------------------------

for Chapter 8
Runs a specified command for each file in a set of files. Syntax 1 is for use at
the command prompt and syntax 2 used in a batch program.

--------------------------------------------------------------------------------

format Chapter 8
Formats the specified disk.

--------------------------------------------------------------------------------
goto Chapter 8
Jumps to the location marked by the specified label. This command can only be used
in a batch program.

--------------------------------------------------------------------------------

graphics Chapter 8
Loads a program into memory that will allow MS-DOS to print the contents of the
screen when using a color or graphics adapter.

--------------------------------------------------------------------------------

help Chapter 8
Starts MS-DOS Help and shows help on the specified command or if none given show
all available topics.

--------------------------------------------------------------------------------

himem.sys Chapter 8
Is an extended memory manager that coordinates the use of the computer's extended
memory, including the high memory area (HMA). This driver can only be loaded in
CONFIG.SYS.

--------------------------------------------------------------------------------

if Chapter 8
Performs conditional processing in batch programs.

--------------------------------------------------------------------------------

include Chapter 8
Includes the content of one configuration block within another. This command can
only be used in CONFIG.SYS.

--------------------------------------------------------------------------------

install Chapter 8
Instalsl a memory resident program into memory when MS-DOS starts. This command can
only be used in the CONFIG.SYS file.

--------------------------------------------------------------------------------

interlnk Chapter 8
Shares disks and printer ports between two computers using parallel or serial
ports. The INTERLNK.EXE driver must be installed using the second syntax in the
CONFIG.SYS file.

--------------------------------------------------------------------------------

intersvr Chapter 8
Starts the Interlink server that redirects drives.

--------------------------------------------------------------------------------

keyb Chapter 8
Configures a keyboard for a specific language. The second syntax is used in the
CONFIG.SYS file.
--------------------------------------------------------------------------------

label Chapter 8
Creates, renames, or erases a volume label.

--------------------------------------------------------------------------------

lastdrive Chapter 8
Specifies the maximum numbers of drives that can be accessed. This command can only
be used in CONFIG.SYS.

--------------------------------------------------------------------------------

lh, loadhigh Chapter 8


Loads a program into the upper memory area.

--------------------------------------------------------------------------------

loadfix Chapter 8
Loads a program above the first 64K of conventional memory and then runs it.

--------------------------------------------------------------------------------

md, mkdir Chapter 8


Creates a new directory.

--------------------------------------------------------------------------------

mem Chapter 8
Shows the amount of used and free memory in your system. If used without an option
it will display the status of the MS-DOS subsystem's memory usage.

--------------------------------------------------------------------------------

memmaker Chapter 8
Is a memory optimization program that optimizes the computers memory by moving
memory-resident programs and device drivers to upper memory.

--------------------------------------------------------------------------------

menucolor Chapter 8
Sets the text and background color for the startup menu. This command can only be
used within a menu block in the CONFIG.SYS file.

--------------------------------------------------------------------------------

menudefault Chapter 8
Specifies the default menu item on the startup menu and set the time to wait before
starting using this menu item, can only be used within a menu block in the
CONFIG.SYS file.

--------------------------------------------------------------------------------

menuitem Chapter 8
Defines an item on the startup menu. This command can only be used within a menu
block in the CONFIG.SYS file.

--------------------------------------------------------------------------------
mode Chapter 8
Shows, changes or configure system devices. If used without parameters status of
all devices is shown or if any actions are used without options the status for that
device is shown.

--------------------------------------------------------------------------------

more Chapter 8
Shows one screen of information at a time.

--------------------------------------------------------------------------------

move Chapter 8
Moves files or renames directories.

--------------------------------------------------------------------------------

msav Chapter 8
Scans the computer for viruses.

--------------------------------------------------------------------------------

msbackup Chapter 8
Starts Microsoft Backup, which backs up or restores files.

--------------------------------------------------------------------------------

mscdex Chapter 8
Provides access to CD-ROM drives.

--------------------------------------------------------------------------------

msd Chapter 8
Shows technical information about the computer or writes the information to a file.

--------------------------------------------------------------------------------

nlsfunc Chapter 8
Loads country specific information for national language support. Use the second
syntax in the CONFIG.SYS file.

--------------------------------------------------------------------------------

numlock Chapter 8
Specifies whether the NUM LOCK key is set to ON or OFF when the computer start.
This command can only be used in the CONFIG.SYS file.

--------------------------------------------------------------------------------

path Chapter 8
Lists of directories that MS-DOS should search for executable files.

--------------------------------------------------------------------------------

pause Chapter 8
Pauses a batch file processing. A message prompts the user to press any key to
continue. This command can only be used in a batch program.
--------------------------------------------------------------------------------

power Chapter 8
Reduces the power used by the computer. If used without any option the current
setting is shown.

--------------------------------------------------------------------------------

print Chapter 8
Prints a text file while you are using other MS-DOS commands.

--------------------------------------------------------------------------------

prompt Chapter 8
Changes the appearance of the command prompt.

--------------------------------------------------------------------------------

qbasic Chapter 8
Is an editor and compiler for the Basic computer language.

--------------------------------------------------------------------------------

ramdrive.sys Chapter 8
Ramdrive.sys uses part of the systems memory (RAM) to simulate a hard disk drive,
must be loaded by device in config.sys

--------------------------------------------------------------------------------

rd, rmdir Chapter 8


Removes an empty directory

--------------------------------------------------------------------------------

rem Chapter 8
Adds comments or disables commands in a batch file.

--------------------------------------------------------------------------------

ren, rename Chapter 8


Renames a file.

--------------------------------------------------------------------------------

replace Chapter 8
Replaces files in the target directory with the files in the source directory that
have the same names.

--------------------------------------------------------------------------------

restore Chapter 8
Restores backup files created with the backup command.

--------------------------------------------------------------------------------

scandisk Chapter 8
Checks a drive for errors and then corrects them. If used without any parameters
the current drive is checked for errors.
--------------------------------------------------------------------------------

set Chapter 8
Sets, shows, or removes MS-DOS environment variables

--------------------------------------------------------------------------------

setup Chapter 8
Setup instalsl MS-DOS 6.22

--------------------------------------------------------------------------------

setver Chapter 8
Reports a different MS-DOS version to a program than the one currently running. If
used without any parameters the current setver table is shown.

--------------------------------------------------------------------------------

share Chapter 8
Enables file sharing and file locking capabilities. The second syntax is used in
the CONFIG.SYS file.

--------------------------------------------------------------------------------

shell Chapter 8
Specifies the name and location of the command interpreter to use. This command can
only be used in CONFIG.SYS.

--------------------------------------------------------------------------------

shift Chapter 8
Shifts the command line argument one step to the left.

--------------------------------------------------------------------------------

smartdrv Chapter 8
Creates a disk cache in extended memory to accelerate up MS-DOS disk operations.

--------------------------------------------------------------------------------

sort Chapter 8
Sorts input data and writes the result to a file, screen, or device

--------------------------------------------------------------------------------

stacks Chapter 8
Supports the dynamic use of data stacks to handle hardware interrupts. Can only be
used in the CONFIG.SYS file.

--------------------------------------------------------------------------------

submenu Chapter 8
Creates a submenu in a startup menu. This command can only be used within a menu
block in the CONFIG.SYS file.

--------------------------------------------------------------------------------

subst Chapter 8
Maps a virtual drive to a directory. If used without any parameters all the active
mappings are shown.

--------------------------------------------------------------------------------

switches Chapter 8
Specifies special MS-DOS options. This command can only be used in the CONFIG.SYS
file.

--------------------------------------------------------------------------------

sys Chapter 8
Creates a bootable disk by copying the system files to it.

--------------------------------------------------------------------------------

time Chapter 8
Shows the current time or sets the computers internal clock.

--------------------------------------------------------------------------------

tree Chapter 8
Shows a graphical representation of a directory structure.

--------------------------------------------------------------------------------

type Chapter 8
Shows the contents of a text file.

--------------------------------------------------------------------------------

undelete Chapter 8
Restores files that were deleted using the del command.

--------------------------------------------------------------------------------

unformat Chapter 8
Restores a disk that was erased using the FORMAT command or restructured using the
RECOVER command.

--------------------------------------------------------------------------------

ver Chapter 8
Shows the version number of MS-DOS.

--------------------------------------------------------------------------------

verify Chapter 8
Specifies that MS-DOS should verify that write operations are done correctly.

--------------------------------------------------------------------------------

vol Chapter 8
Shows the disk volume label and serial number.

--------------------------------------------------------------------------------

vsafe Chapter 8
Is a memory resident virus scanner that displays a warning when a virus is found.
--------------------------------------------------------------------------------

xcopy Chapter 8
Copies files, directories, and subdirectories, except hidden and system files.

www.ucgbook.com | Contact UCG | Privacy Policy | Web Awards | 2001 UCG Media,
inc. All rights reserved.

Vous aimerez peut-être aussi