Wednesday, September 18, 2013

MS DOS COMMAND

Attrib

The attrib command is used to change the attributes of a single file or a directory.
Break

The break command sets or clears extended CTRL+C checking.




Call

The call command is used to run a script or batch program from within another script or batch program.

The call command has no effect outside of a script or batch file. In other words, running the call command at the DOS prompt will do nothing.

Cd

The cd command is the shorthand version of the chdir command.
Chcp

The chcp command displays or configures the active code page number.
Chdir

The chdir command is used to display the drive letter and folder that you are currently in. Chdir can also be used to change the drive and/or directory that you want to work in.
Chkdsk

The chkdsk command, often referred to as check disk, is used to identify and correct certain hard drive errors.

Choice

The choice command is used within a script or batch program to provide a list of choices and return the value of that choice to the program.
Cls

The cls command clears the screen of all previously entered commands and other text.

Copy

The copy command does exactly that - it copies one or more files from one location to another.
Ctty

The ctty command is used to change the default input and output devices for the system.
Date

The date command is used to show or change the current date.
Dblspace

The dblspace command is used to create or configure DoubleSpace drives.

DriveSpace, executed using the drvspace command, is an updated version of DoubleSpace.

Debug

The debug command starts Debug, a command line application used to test and edit programs.

Defrag

The defrag command is used to defragment a drive you specify. The defrag command is the command line version of Microsoft's Disk Defragmenter.
Del

The del command is used to delete one or more files.

The del command is the same as the erase command.

Deltree

The deltree command is used to delete a directory and all the files and subdirectories within it.
Dir

The dir command is used to display a list of files and folders contained inside the folder that you are currently working in.

The dir command also displays other important information like the hard drive's serial number, the total number of files listed, their combined size, the total amount of free space left on the drive, and more.

Diskcopy

The diskcopy command is used to copy the entire contents of one floppy disk to another.
Doskey

The doskey command is used to edit command lines, create macros, and recall previously entered commands.
Dosshell

The dosshell command starts DOS Shell, a graphical file management tool for MS-DOS.

The dosshell command was only available up to MS-DOS 6.0 but most MS-DOS 6.22 installations were upgrades from previous versions so the dosshell command is usually still available.

Drvspace

The drvspace command is used to create or configure DriveSpace drives.

DriveSpace is an updated version of DoubleSpace, executed using the dblspace command.

Echo

The echo command is used to show messages, most commonly from within script or batch files. The echo command can also be used to turn the echoing feature on or off.
Edit

The edit command starts MS-DOS Editor, a tool used to create and modify text files.

Edlin

The edlin command starts the Edlin tool which is used to create and modify text files from the command line.

Edlin was only available up to MS-DOS 5.0 so unless your version of MS-DOS 6.22 was upgraded from 5.0, you likely won't see the edlin command. Later versions of Windows again included the edlin command.

Emm386

The emm386 command is used to give MS-DOS access to more than 640 KB of memory.
Erase

The erase command is used to delete one or more files.

The erase command is the same as the del command

Expand

The expand command is used to extract a single file or a group of files from a compressed file.
Fasthelp

The fasthelp command provides more detailed information on any of the other MS-DOS commands.
Fastopen

The fastopen command is used to add a program's hard drive location to a special list stored in memory, potentially improving the program's launch time by removing the need for MS-DOS to locate the application on the drive.

Fc

The fc command is used to compare two individual or sets of files and then show the differences between them.
Fdisk

The fdisk command is used to create, manage, and delete hard drive partitions.
Find

The find command is used to search for a specified text string in one or more files.
For

The for command is used to run a specified command for each file in a set of files. The for command is most often used within a batch or script file.

No comments:

Post a Comment