Thursday, October 29, 2009

MS-DOS Command List

CHDIR (CD)
(Internal)

CHDIR (CD) [a:] path
CHDIR (CD) [..]

Displays working (current) directory and/or changes to a different directory.
A prompt so that a user can make a choice while a batch program is running.

CLS (Clear Screen)
(Internal)

Clears (erases) the screen.

DEL ( ERASE)
(Internal)

DEL (ERASE) [a:][path]filename [/P]

Deletes (erases) files from disk.

DIR
(Internal)

DIR [a:][path][filename] [/A:(attributes)] [/O:(order)] [/B][/C][/CH][/L][/S][/P][/W]

Displays directory of files and directories stored on disk.

ECHO
(Internal)

ECHO on|off
ECHO (message)
displays messages or turns on or off the display of commands in a batch file.

MKIDIR (MD)
(Internal)

MKDIR (MD) [a:]path

Creates a new subdirectory.

RMDIR (RD)
(Internal)

RMDIR (RD) [a:]path

Removes a subdirectory

TYPE
(Internal)

TYPE [a:][path]filename

Displays the contents of a file

No comments:

Post a Comment