You are on page 1of 2

ATTRIB This command is used for making any file as +R : Makes the file read only +H : suppresses the

file in the directory listing i.e. makes it hidden -H : Unhides the previously hidden file +A: Changes file settings to archived -A : Changes file settings to not archived +S : Marks file as DOS system file -S : Removes DOS system file setting

DELTREE It is used to remove an unwanted directory, plus all files on it, and all subdirectories nested below it, in a single command. Syntax: DELTREE/switch drive:\path TREE This command display path and optionally list the content of each directory and sub directory on the specified drive. Syntax: TREE drive:\path/switches CHKDSK This command is used to display the report regarding the status of the disk. Syntax: CHKDSK drive:\path\file\switches

DBLSPACE This command is used to compress the data files. It can also compress the entire drive. Syntax: DBLSPACE/switches drive: DISKCOPY This command is used to copy the content of one disk to another. Syntax: DISCOPY source:target:/switches DOSKEY Dos can remember only the last command you had entered. But in order to make DOS remember all the commands you enter you will have to load a DOSKEY utility. Also Used to create Macros. Syntax: DOSKEY EDIT This command provides a text editor for the editing of text or batch files. Syntax: EDIT drive:\path\file/switches FIND Locates all the lines which contain a specific string of text in a file or files. Syntax: FIND/switches string drive:\path\file.

You might also like