dos command

ATTRIB Dos Command ake files hidden,read only and more

ATTRIB command Displays or changes file attributes.Also Sets or displays the read-only, archive, system, and hidden attributes of a file or directory.

DESCRIPTION:-

 

 

DIR DOS command display list of files in directory

DIR command is used to Obtain a list of the files stored in a directory.If used without options this command will give a list of files in
the current directory, including any extension (e.g. .for), and their size.

If used with the option /P, that is:
C:/>DIR /P
The same information will be displayed page by page with the message:
strike a key when ready
at the end of each page.

Below Is DOS HELP from DOS Prompt:-

 

DEL DOS command for deleting files from directory

DEL command is used for Delete a file.This command provide options so that we can delete multiple files based on a pattern.
Syntax:-

DEL filename

where filename is the name of the file to be deleted. You are asked to confirm that you really want to delete the file.

 

COPY command MS-Dos

Make a copy of a file or merge files together.
COPY original-file destination-file
where original-file and destination-file are file
names, separated by a space.
The command can be used to merge several files into one file
since the original-file parameter can be a list of
filenames separated by the + symbol. For example:
COPY file1 + file2 file3
would copy file1 and file2 into file3.
Note that the file names used in the copy command must
include the file extension if it exists. So if you were copying a

 

Quick List for Commonly used Ms dos commands

Common MS-DOS Commands

 

DATE command DOS

DATE MM-DD[-YY]

• Used to set the CMOS date on the computer

• Occurs at the point of the <cr>

• Stored at the number of milliseconds since

about 1980

• For HELP type DATE /?


 

Syndicate content