Professional Documents
Culture Documents
ebook
for
Beginner
Developed by:
Ram Krishna Prasad
BCA from IGNOU, New Delhi
Email: ramaisgod@gmail.com
MS-DOS
MS-DOS stands for Microsoft Disk Operating system.
It activates all part of computer through disk.
It is text mode programme.
It is product of Microsoft company the latest version of MS-Dos was MS-Dos – 6.22 but
in this time the version of MS-Dos depend on windows. So windows is much popular
operating system.
Command:- The instruction which is given to computer for do specified work is called
command.
There are two types of command.
a) Internal command
b) External command
Dos prompt:-
C:\>
C- drive
: - colon
\ - slash
> - greater than sign
Some Commands
1. DATE:- This command is used to display currently system date and day and also ask
enter new date.
Syntax:- Date
i.g. C:\> date
2. TIME:- This command is used to display currently system time and also ask enter new
time.
Syntax:- Time
i.g C:\> time
3. VER:- This command is used to display the version of loaded operating system.
Syntax:- VER
i.g. C:\> ver
4. VOL:- This command is used to display the volume no. of computer and disk.
Syntax:- vol
i.g. C:\> vol
5. LABEL:- It is an external command which is used to change the name of volume label.
Syntax:- label
i.g. C:\> label
6. CLS:- This command is used to clear the screen of computer and move prompt on left
top corner.
Syntax:- cls
i.g. C:\> cls
8. COPY CON:- This command is used to create a file in desired directory and drive.
Syntax:- copy con [drive][path]<file name>
i.g. copy con ram
Rule for file name:-
A. File name must be unique
B. File name can be divide into two part
a) Primary name- 8 character(first name)
b) Secondary name- 3 character (extension name)
C. Only one dot (.) can be used in file name between primary and secondary name.
D. No any blank space, no any symbol will be accepted.
C:\> D:
D:\>
9. TYPE:- This command is used to display the message or contains of file which can be in
any directory.
Syntax:- Type [drive][path]<file name>
10. DIR:- This command is used to display the list of files and directory.
Syntax:- Dir <directory name>
i.g. D:\> Dir
*To display the list of files and directory page wise
Dir/p*
12. COPY:- This command is used to the copy desired file trun one location to another.
Syntax:- Copy [drive][path]<source> [drive][path]<target>
i.g. D:\> copy ram Mohan
13. REN (RENAME):- This command is used to change the name of file in new name.
Syntax:- Ren [drive][path]<file name as on old> <new file name>
i.g. D:\> Ren ram Sohan
D:\> Type Sohan
Kundan Chandan
18. MOVE:- It is an external command which is used to move or transfer files from one
location to another.
Syntax:- Move [drive][path]<source> [drive][path]<target>
i.g. Move kiss\boy\rani\kiss1.c kiss\boy\priti
21. SORT:- It is an external command which is used to arrange the conents of file in desired
manner. It means ascending order and descending order.
Syntax:- Sort < <file name>
EX:-
D:\> copy con Rakesh
Mukesh
Ajay
Rajeev
To Z
i.g. Sort < Rakesh
24. FILE + NEW OR (ALT+F+N):- This command is used to create new blank file.
25. FILE + SAVE OR (ALT+F+S):- This command is used to save currently active file.
Req step:-
a) Give File + Save command or Alt + F + S
b) Specify the name of file
c) Click on <Ok> button.
26. FILE + OPEN OR (ALT+F+O):- This command is used to open already existed file.
Req step:-
a) Give File + Open command or Alt + F + O
b) Select or specify file name
c) Click on <Ok> button.
27. FILE + SAVE AS OR (ALT+F+A):- This command is used to save the file with new
name.
Req step:-
a) Give File + Save As command
b) Specify file name
c) Click on <Ok> button.
28. FILE + CLOSE OR (ALT+F+C):- This command is used to close currently active file.
29. FILE + PRINT OR (ALT+F+P):- This command is used to print the message of file.
30. FILE + EXIT OR (ALT+F+X):- This command is used to exit or quit from edit
environment and move on dos prompt.
31. EDIT + CUT OR (CTRL+X):- This command is used to cut the selected string and
store in clipboard (Temporary storage area).
Req step:-
Select the string
Give edit + cut command
How to select any message:-
I method:-
a) Move cursor at desired position
b) Move mouse pointer at the position of cursor
c) Press mouse button and drag up to target.
II method:-
a) Move cursor at desired position
b) Press shift key and press arrow key.
32. EDIT + PASTE OR (CTRL+V):- To paste the string at desired position from clipboard.
Req step:-
a) Move cursor at desired position
b) Give edit + paste command.
33. EDIT + COPY OR (CTRL+C):- This command is used to copy the selected string and
store in clipboard.
Req step:-
a) Select message
b) Give edit + copy command.
34. EDIT + CLEAR OR (DELETE):- To clear or delete selected string from file.
Req step:-
a) Select message
b) Press delete key
35. SEARCH + FIND OR (ALT+S+F):- This command is used to search given string in
active file.
Req step:-
a) Move cursor at top or start of file.
b) Give search + find command
c) Specify find what string
d) Check mark in desired option by clicking
e) Click on <Ok> button.
36. SEARCH + REPEAT LAST COMMAND OR (F3):- This command is used to repeat
last command
38. VIEW + SPLIT WINDOW OR (ALT+V+S):- This command is used to split active
window in two equal part.
39. VIEW + SIZE WINDOW OR (ALT+V+I):- This command is used to split active
window in desired size.
Req step:-
a) Give View + Size window command
b) To decrease or increase press up and down arrow key.
c) Press inter key
40. VIEW + CLOSE WINDOW OR (ALT+V+C):- This command is used to close splited
window.
41. OPTION + SETTING OR (ALT+O+S):- This command is used to setting tab key.
Req step:-
a) Give Option + Setting command
b) Fill tab setting
c) Click on <Ok> button.
42. OPTION + COLOUR OR (ALT+O+S):- This command is used to change the colour of
back ground and fore ground.
Req step:-
a) Select back ground and fore ground colour
b) Click on <Ok> button.
1. MORE:- This command is used to display contents of files page wise.
Syntax:- <out put> ; more
i.g. Type abc ; more
i.g. Dir ; more
4. FC (FILE COMPERE):- This command is used to compere tow files and display
message.
Syntax:- FC <file 1> <file 2>
i.g. D:\> FC abc mnq
5. ATTRIB:- This is an external command which is used to change the property of file as
hidden read only system.
Syntax:- Attrib <code> <file name>
D:\> Attrib +R abcd
D:\> Attrib +H abc
Code:-
+R:- Read only
-R:- Read & write
+H:- Hidden
-H:- Show
+S:- System
-S:- Remove system property
SOME IMPORTANT OPTIONS OF DIR
(DISK INFORMATION REPORT):-
b) /W:- It display the list of files and directory width wise and in 5 columns.
i.g. Dir/W
t) /S:- This option is used to search specified directory or files in active location.
Syntax:- Dir/S <name>
i.g. Dir/S/P Ramu
1. BATCH FILE:- It is a programme file. Which holds executable command for execute
one by one.
2. /AUTOFIX:- It checks specify disk and if there will be any error than fix.
Syntax:- C:\> Scandisk/Autofix <drive name>
3. SYS:- It is an external command which is used to copy all system file in desired disk.
Syntax:- Sys <disk name>
*To reboot the system after copying system file press Ctrl + Alt + Del*
(Format. exe)
4. FORMAT:- It is an external command which is used to create different sector and part in
active disk.
Note:- It means it will remove previous data files and system files and system files from
disk.
Syntax:- C:\> Format
6. MEM:- It is an external command. Which is used to display the memory status of disk.
Syntax:- C:\> Mem
7. FORMAT:- It is an external. Which is used to check new track and sector in specified
disk. It also remove all also data of specified disk.
Syntax:- Format <drive name>
b) /S:- This option is used to format specified disk and transfer system file in another
disk.
Syntax:- Format/S <Target disk name>
i.g. Format/S A:
c) /Q:- This option is used to perform quick formatting.
i.g. Format/Q
d) /V:- This option is used to with format command to specified volume label.
Ex:- Format A:/V: Ramu
9. DISKCOMP:- This command is used to compeare two disk and display difference
between then.
Syntax:- Diskcomp <Drive1> <Drive2>
10. CHKDSK:- This command is used to check states of specified disk and display details of
disk.
Syntax:- Chkdsk <drive name>
i.g. Chkdsk C:
11. PKZIP:- This is data comprocessing programme is used to comprocessed data file.
Syntax:- Pkzip[drive][path]<target><file name>
[Drive][Path]<Source><file name>
VSAVE:- This command is used to see load the virus save programme in memory.
e.g.:- VSAVE
/V:- This command is used to with VSAVE command to unload virus save programme
from memory.
Ex:- VSAVE/V
DEFRAG:- This command is the disk optimizing programme which is used to optimize
specifild disk.
Syntax:- DEFRAG <Drive> [/F]
e.g.:- DEFRAG C:/F
/F:- This option is used which defrag command to perform full optimization.
--The End--