You are on page 1of 15

welcome to

What are Basic Dos Commands?


[Internal And External]
Basic Dos Commands?

In MS-DOS (Disk Operating System) There are two types


of Basic dos commands they are internal dos commands
and external dos commands which are used separately to
perform specific task or operation. Internal dos commands
are those commands which are included in command
processor (command.com).
Internal dos commands are built in command.com file and
while the computer has been booted this file or commands
are loaded in the computer memory and you can use this
basic dos commands while computer is ON.
Examples:: ver, time, del, md , cd , copy con, cls , date, vol,
ren, copy etc
External Dos Commands

External Dos Commands are those basic dos commands


which require external supporting files which may be
present on the bootable disk or harddisk , without
supporting files you cannot run or execute this commands.
The External Dos Commands are not built in
command.com file . They are present separately on
harddisk , they are slow as compared to internal dos
commands and require a lot of Computer memory to
execute or run
Examples of Basic Dos Commands:: tree, xcopy, diskcopy,
more, fdisk, format etc.
Complete list of Basic Internal Dos
Commands and Their Uses

cls dir
date md
time cd
copy con rd
type
volume
rename
ver
copy
delete echo
CLS COMMAND

This is an Internal dos


command which is used to
(Syntax)
clear the output on the
screen obtained when C:\>cls (Press Enter)
executed any basic dos
commands.
These commands clears all
the text from the screen
and shows user a Command
prompt.
DATE COMMAND

Date command is a (Syntax)


internal basic dos
command which is used C:\>date (Press Enter)
to display or change
current date of system in
format of mm/dd/yy.
TIME COMMAND

Time command is used to


display or change the (Syntax)
current time of Computer
system. The format which is C:\> Time (Press Enter)
used by time command is
HH:MM:SS .
Where HH stands for hours
of the day in 24 hour format
, MM for minutes , SS For
seconds and CC For
hundreds of a second.
COPY CON COMMAND

This is a very important internal


dos command which is used to
create text files . The filename
used while creating a file using (Syntax)
this basic dos command consist of
a primary name and a extension C:\>copy con abc.com
which is separated by a dot or
commonly called as period. (Press Enter)
While creating a File there are Every body wants to go to
some rules, that a primary file heaven but nobody wants
name must not be greater then 8 to die.
characters and the extension To save the file use CTRL+Z
must be not greater then 3 OR F6 OR to cancel use
characters.
CTRL+C from keyboard.
Filename can consist of digits
and special symbols such as 0 to
9 or @ # % etc
Basic External Dos Commands & Uses

External Dos Commands are those commands which


are not embedded into command.com file, these
command requires external supporting files for
execution.
For example to run fdisk command you will need a
fdisk.exe or fdisk.com file inside your Computer
system or bootable drives.
FORMAT COMMAND

Format command is a external


command and to run format
command you need a supporting
file named format.com
(Syntax)
Format command deletes or
erase all the data present in the C:\> format (drive name)
drives . which can be any flash (Press Enter)
drives , hard drives or floppy
disk.
The format command creates C:\>format A: (Press Enter)
new allocation table and root
directory and make the drive use
able. The command also checks Switches used in format
for bad areas of drives command.
commonly called as bad sectors.
DISKCOPY COMMAND

DISKCOPY is a basic dos (Syntax)


commands which comes in a
category of external dos
command which is used to C:\>Diskcopy A: B:
copy entire content of one (Press Enter)
drive to another .
Diskcopy command works
only with floppy disk.
XCOPY COMMAND

XCOPY DOS COMMAND is (Syntax)


used to copy entire files ,
directories and
subdirectories from one C:\>xcopy (source)
location to another. (destination)
xcopy command is (Press Enter)
executed when
xcopy.exe file is present C:\>xcopy/s/e c:\movies
in hard disk or bootable
d:\new (Press Enter)
drive .
In the above Example xcopy will copy all files and
directories from c:\movies to d:\new .where /s is used
for copying nonempty subdirectories.
And /e is used for copying directories and
subdirectories including empty ones. Switches used in
XCOPY COMMAND.use xcopy/? To know all the
switches used.
SYS COMMAND

SYS COMMAND is another


external dos command
(Syntax)
which is used to transfer
system files into destination
drive and make the drive
C:\> sys a: (Press Enter)
bootable .
Usually sys commands copy A:\> sys c: (Press Enter)
three files namely
command.com,io.sys and
msdos.sys.
http://www.chtips.com/msdos/basic-dos-commands
http://www.chtips.com/msdos/what-is-dos-operating-system

You might also like