MS Dos  means disk operating system. It has many commands. Some of useful commands are here.

ATTRIB
ATTRIB [d:][path]filename [/S]
ATTRIB [+R|-R] [+A|-A] [+S|-S] [+H|-H] [d:][path]filename [/S]
Sets or displays the read-only, archive, system, and hidden attributes of a file or directory.

BACKUP
d:[path][filename] d:[/S][/M][/A][/F:(size)] [/P][/D:date] [/T:time] [/L:[path]filename]
Makes a backup copy of one or more files.

CALL
[d:][path]batchfilename [options]
Calls another batch file and then returns to current batch file to continue.

CD
To create a new directory.
CHKDSK
Chkdisk [d:][path][filename] [/F][/V]
Checks a disk and provides a file and memory status report.

CLS
Clears (erases) the screen.

COPY
copy [/Y|-Y] [/A][/B] [d:][path]filename [/A][/B] [d:][path][filename] [/V]

DEL
Del [d:][path]filename [/P]
Deletes (erases) files from disk.

DIR
Dir [d:][path][filename] [/A:(attributes)] [/O:(order)] [/B][/C][/CH][/L][/S][/P][/W]
Displays directory of files and directories stored on disk.

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

FORMAT
Format d:[/1][/4][/8][/F:(size)] [/N:(sectors)] [/T:(tracks)][/B|/S][/C][/V:(label)] [/Q][/U][/V]
Formats a disk to accept DOS files.

MKDIR
MD [d:]path
Creates a new subdirectory.

MOVE
move [/Y|/-Y] [d:][path]filename[,[d:][path]filename[...]] destination
Moves one or more files to the location you specify. Can also be used to rename directories.

NUMLOCK=on|off

RENAME
(REN) [d:][path]filename [d:][path]filename
Changes the filename under which a file is stored.

TYPE
Type [d:][path]filename
Displays the contents of a file.

Post a Comment

 
Top