REM.
wai) TT]
IA
Computer Fundamental &
Office Automation
(CFOA)
www.dreamstudy.tk Pp
dreamstudy123@gmail.com
Send us your query anytime!Introduction
The role of DOS is to interpret command
the user enters via the keyboard.
These commands allow the following tasks to be
CoC evitlon
* file and folder management
* disk upgrades
* hardware configuration
** memory optimization
* program executionISIC] AANOF DOS |
MS-DOS 1.0 was released in August 1981,
and was updated until April 1994 when it was
replaced by Windows 95
All versions of windows still contain some type
of DOS, in windows 95 and 98 you can go to
run and type command to get to DOS prompt,
in NT, 2000, and XP you can type CMD and
[10 DIONFile Manipulation
pete WRT Tire Ce
Wildcard Characters? *
IME eCeeretran tai ee nasa tea
omer eT eee ete Raat)
XCOPY - copies all files ina directory (and its subdirectories)
IMS en Oe Ce eae te Rost cs
NTS y mem oleate
eo) APN OOO Shs eb) en enn
ipeNy.@ sh aeeroen cnn
RENAME or REN - renames files
Pad ucmemtroo enna er cd
GME e eels
ee meme Ronee er wid
Maree eat
emcee meeeDirectory Manipulation
MD or MKDIR - creates a directe
CD or CHDIR - changes directory
PROMPT - changes the command prompt
TREE - displays the directory structure
RD or RMDIR - removes a directory
aS oem eeu to)
PATH - creates a search pathTypes of commands
There are two types of commands
¥ Internal commands
These are the commands which reside in the portion of computer’s
memory and are loaded along with the operating system in to the
memory. These commands are always available for execution.
¥ External commands
these are the commands which have to be loaded from the disk
into the memory of the computer before we want to executeInternal Command
External Command
1. Internal commands are
faster than External command.
1. External commands are slow
than Internal command.
2. This commands are stored
in Internal memory (RAM)
2. This commands are stored in
secondary memory (Hard disk).
3. Example: Date, Time, Vol,
Ver etc.
3. Example: Label, Exit etc.CLS
VOL
VER
PATH
DEL
TYPE
MD
cD
Internal commands
REN
PROMPT
COPY
TIME
DATE
PAUSE
DIRExternal Commands
Backup * Copy con
Restore * Print
Chkdsk * Move
Tree * Undelete
Diskcopy * Format
Diskcomp * DeltreeInternal commands.
® DOS stays in the internal memory of your systems unit whenever your
PC is tumed on. This portion of DOS is called resident DOS. It includes
the command processor and also includes many of the DOS commands
© The commands that are a part of resident DOS are known as intemal
commands. Because they are always in internal memory, DOS always
knows where te find them
* Also, it does not have to load them from disk storage into internal
memory before it can execute them. To use one of these commands
all you ever have to do is enter the command name at the command
prompt.
Example of internal commands are:
Command Meaning
DIR list the directories and files on your disk.
Copy Copy files from one disk to another
Ren Rename a file or directory
MD Make a new Directory
cLs Clear the screen
cD Change to another directory
VER Tell me the DOS version
RMDIR Remove a directoryExternal commands
* If a command is not in resident DOS, it's called an external command.
Each of these commands is stored in a disk file called a command file.
. On a MS-DOS system, the names of command files always have an
extension of COM or EXE. Usually, these command files are stored in
the DOS directory on one of the drives of your PC.
* Before DOS can execute an extemal command, it must find the
command file for the command and load the command into internal
memory. But not all systems are set up so DOS is able to find its external
commands.
Examples of external commands are:
Command Meaning
Find Find a file
Edit or Edlin Start the DOS Text editor
Format Format the Floppy or Hard Drive
Help Open the DOS Help Files (Ver 6.0 or higher)
Tree Display the directory structure
Attrib Set the attributes of a file or directory.Enables Windows to display an extended character set in
Pier ees
CC OM ett UL eeu
Pr eee ae a
ert Cee resume ca ere ae
Greates, changes, or deletes the valume label of a dis!
Pecos
Cees
one or nore files fron one directory to another
boa ta
heeretrae cst ea ee
Peer aers
ing af a batch file and d
Restores the previous value of the current directory saved by
re
Te a ere cece
Cree CLC tee Uums e
Gaves the cymvent directory then changes
enoves a diectory-
eee CSOs G ree Cee wd
Lepeereee Crs
rear etc
our m settee eer Teste errr ci mat
Pa pet ae