MS Dos

You might also like

Download as pptx, pdf, or txt
Download as pptx, pdf, or txt
You are on page 1of 45

Internal Commands

1. DIR 7. CLS

2. DEL 8. DATE

3. TYPE 9. CD

4. COPY 10. VER

5. TIME 11. MD

6. RENAME 12. RD
DIR
This command display the contents of a
folder.
C:\>DIR
press enter key,
and it will display all the details in the
directory.
DEL
This command deletes one or more files of
a folder.
C:\>DEL [File Name]
press enter key,
and it will delete file.
TYPE
This command display the contents of a text
file. No modification is done by the user.
C:\>TYPE [File Name]
press enter key,
The contents of the named file are displayed
on the screen.
COPY
This command is used to copy files from one
directory to other, one directory to
subdirectories etc.
C:\>COPY [File Name]A:
press enter key,
The command copies a specific file from C
drive to A drive.
TIME
This command display the current time.
C:\>TIME
press enter key,
and it will display the current time.
DATE
This command display the current date.
C:\>DATE
press enter key,
and it will display the current date.
RENAME (REN)
This command is used to rename of the first
file to the second filename.
C:\>REN sales.txt newsales.txt
press enter key,
and it will rename of the first file to the
second filename in the same path.
CLS
This command will clear the contents of the
screen.
C:\>CLS
press enter key,
and it will clear all the instruction and
screen will become clean.
CD
This command is used to change drive.
C:\>CD[drive Name]
press enter key,
This command is followed by two dots (..), three
dots (…), and backslash for reach one step back,
two step back, and the parent directory.
User can reach parent or child drive using this
MKDIR (MD)
This command is used to make a new
directory.
C:\>MD[directory Name]
press enter key,
and it will create new directory.
RMDR (RD)
This command is used to delete a directory
or subdirectory.
C:\>RD [Directory Name]
press enter key,
VER
This command display version of a disk.
C:\>VER[drive Name]
press enter key,
and it will display current version of a disk.
External Commands

1. CHKDSK 7. DISKCOMP

2. FORMAT 8. SYS

3. DISKCOPY 9. UNDELETE

4. PRINT 10. ATTRIB

5. MEM 11. MOVE

6. TREE 12. COPY CON


CHKDSK
This command checks the disk and tells the
error in the disk.
C:\>CHKDSK
press enter key,
and it will display report of the disk.
FORMAT
This command format the disk.
C:\>FORMAT A:
press enter key,
and it will format the floppy disk in the
drive.
DISK COPY
This command is used to copy the contents
of one floppy to another floppy.
C:\>DISKCOPY A: B:
press enter key,
and it will copy the contents of A drive to
drive B.
PRINT
This command is used to print the text.
C:\>PRINT\D:
press enter key,
and it will print the text.
MEM
This command is used to display
information about used and free memory
area in the MS DOS subsystem.
C:\>MEM
press enter key,
and it will display information about used
TREE
This command is used to display the
directory structure.
C:\>TREE
press enter key,
and it will display directory structure.
SYS
This command is used to transfer/copy the
operating system files to another disk .
C:\>SYS A:
press enter key,
and it will make floppy in drive A, the
bootable one.
DISKCOMP
This command is used to compare the
contents of two floppy disks.
C:\>DISKCOMP A: B:
press enter key,
and it will compare the disks.
UNDELETE
This command is used to recall those files
which have been wrongly deleted.
C:\>UNDELETE
press enter key,
and it will undelete the file\files.
COPY CON
This command is used to create contents on
the disk.
C:\>COPY CON [Drive Name]
press enter key,
and it will create content on the disk.

You might also like