SlideShare a Scribd company logo
2
Most read
3
Most read
4
Most read
Galaxy	Computer	Education(ISO	9001:2015	CERTIFIED)		
M.S. DOS
DOS: Disk operating System
Disk Operating System is the first program that must be loaded in the memory of your PC
before you can use it for any application. Different version of DOS, such as 2.0, 3.0, 4.0, 5.0,
6.0, 6.2, 7.0, 8.0 are available. The higher versions have more features and commands.
However, the basic commands and features are available in all versions.
File, File name & Directory
A File is collection of related information. Like the contents of the file folder in a
desk, your computer might contain files related to different topic owned by different people.
Just as each folder in a file cabinet has a label, each file on a disk has to have a name.
This name has two parts a filename and an extension. While naming a file following points
should be kept in mind:
 File name cannot exceed 8 characters.
 Dot or period is optional, can be used for better management of files.
 Extension, which is optional, cannot be exceeding 3 characters.
 Some name and filename extensions have special meaning to DOS and to your
computer usage of such names should be avoided.
A directory on a disk is like a table of contents in a book. It contains the name of the file,
size of file. The data and time are also stamped, when files are created or modified.
Galaxy	Computer	Education(ISO	9001:2015	CERTIFIED)		
Internal & external DOS Commands
There are two types of DOS commands – internal & external. The internal commands
are those commands that are automatically loaded in the memory of your PC when DOS
is loaded. These commands can be used without the need of any DOS file or diskette. The
internal commands are simple and are used for common tasks such as copying, renaming
or erasing files; displaying a list of files in a diskette; creating and changing directories;
changing the current date in your PC etc. the external commands are used for relatively
complex jobs, such as copying an entire diskette, formatting a diskette; comparing or
joining files, sorting text etc.
Internal commands External Commands
DATE FORMAT
TIME
VER
DIR
DIR/P
DIR/W
COPY CON
TYPE
EDIT
DEL
CLS
RENAME
MD BATCH FILE
CD WILD CARDS
RD
COPY
ATTRIB
Galaxy	Computer	Education(ISO	9001:2015	CERTIFIED)		
Internal Commands:
1. To Come Out Window C:Windows> CD.. 
2. Date To See or Change the current Date of your System.
Syntax
C:>Date 
The Current Date is Tue 02-03-2009 [American Format]
Enter the New Date (mm-dd-yy) …………..
3. Time To see or to Change the Current time of your system.
Syntax
C:>Time
The Current Time is 3:35:49.34a
Enter the New Time ………….
4. Ver To see the version of your system.
Syntax
C:/>Ver 
Windows 98 [Version 4.10.2222]
5. Dir To see the list of files and folders existing in your disk.
Syntax
C:/>Dir 
Galaxy	Computer	Education(ISO	9001:2015	CERTIFIED)		
6. Dir/p To see the Directory Page Wise.
Syntax
C:/>Dir/p 
7. Dir/w To see the Directory Width Wise.
Syntax
C:/>Dir/w 
8. Copy con This command is used to create a Text file on your disk.
Syntax
C:/>Copy con <File name> 
Example:
C:/>copy con ABC
Type your text
(Hi…! My name is Money Gupta.
My institute name is Galaxy)
Press <ctrl + z> to save the file.
9. Type This command is used to see the contents of any existing file.
Syntax
C:/>Type <file name> 
Example:
C:/>type ABC
10. Edit This command is used to make changes in any text file.
Syntax
C:/>Edit <File name> 
Example:
C:/>Edit ABC
11. Cls This command is used to clear the screen.
Galaxy	Computer	Education(ISO	9001:2015	CERTIFIED)		
Syntax
C:/>Cls 
12. Del This command is used to delete the files from your disk.
Syntax
C:/>Del <file name> 
Example:
C:/>Del ABC
13. Rename Just as there are times when you need to assign a anew name to file in
your office, there are times when you want to rename a file on the
disk. The RENAME command or REN (short name) can change a
file’s name or extension or both. The rename command has two
parameters.
Syntax
C:/>Rename <Old name> <New file name>
Example:
C:/>Rename abc pqr
14. Copy This Command is used to create another copy of any existing file in
same directory.
Syntax
C:/>Copy <Original file name> <copied file name> 
Example:
C:/>copy pqr mno 
This Command is used to create another copy of any existing file in
another directory.
Syntax
C:/>Copy <Original file name> <directory name> 
Example:
C:/>copy abc mohan 
15. MD Make Directory.
Galaxy	Computer	Education(ISO	9001:2015	CERTIFIED)		
MD command is used to create a new directory.
Syntax
C:/>md [Dir Name] 
Example:
C:/>md mno 
16. CD Change Directory & Sub- directory
CD Command is used to Change & open the Directory or Sub-
directory.
Syntax
C:/>CD [Dir Name] 
Example:
C:/>cd mno 
Your mno directory is open.
C:/mno>
To come out for your directory.
C:/mno>cd.. 
17. RD Remove Directory & Sub- directory
RD Command is used to remove the Directory or Sub-directory.
1. Directory should be Empty.
2. Path should be Valid
Syntax
C:/>rd [dir name] 
Example:
C:/>rd mno 
18. Attrib This command is used to hide the file & Protect the file.
1.) +H = Hide the file.
Syntax
Galaxy	Computer	Education(ISO	9001:2015	CERTIFIED)		
C:/>attrib +h <File name> 
Example:
C:/>attrib +h abc 
2.) -H = Unhide the file.
Syntax
C:/>attrib -h <File name> 
Example:
C:/>attrib -h abc 
3.) +R = Read only file
Syntax
C:/>attrib +r <File name> 
Example:
C:/>attrib +r abc 
4.) -R = Remove read only
Syntax
C:/>attrib -r <File name> 
Example:
C:/>attrib -r abc 
External Commands
19. Batch File Group of Dos commands is called batch file. A Batch file should have
Extension .bat .
Galaxy	Computer	Education(ISO	9001:2015	CERTIFIED)		
Syntax
C:/>Copy con <Batch file name.bat> 
……
……
…… Dos Commands
……
……
……
For save the file ctrl+z
Example:
C:/>Copy con abc.bat 
Date
Ver
Time
Dir
Dir/p
Dir/w
Cls
^Z (ctrl+z) 
1 File(s) copied
To run the file only type file name then press enter.
20. Wildcard Wildcard Character are those character which are used for substituting
one character or a set of character. The wildcard characters are used to
restrict the scope of a DOS command to only those files which match
pattern specified. These are of two types ----‘*’ and ‘?’, where ‘*’
substitutes a set of character and ‘?’ substitutes a character at a single
particular position.
Galaxy	Computer	Education(ISO	9001:2015	CERTIFIED)		
(1) .*
Syntax
C:/>dir <filename>.* 
This command has displayed the directory with all the file names
having their primary name as <file name>, irrespective of the
extension.
Example:
C:/>dir abc.* 
(2) *.*
Syntax
C:/>dir L*
The given command has displayed all files stating with ‘L’ regardless
of the extension in the directory, this command can also written as
DIR L*.* The command has picked up all files with extension .DOC
and displayed it. The above command can be written as ‘dir.doc’ to get
the same effect.
21. FORMAT This is an external command of DOS; to execute this command the file
FORMAT.COM is required.
Purpose: This command is used to create a new tracks and sectors on
your system disk. The number of the sectors and tracks depends on the
capacity of the disk.
Syntax:
C :>format <drive name>
Example:
If a user wants to format his drive a then the procedure is:
Galaxy	Computer	Education(ISO	9001:2015	CERTIFIED)		
C :>format a: 
  

More Related Content

PPT
Install and configure linux
Vicent Selfa
 
PPT
Shell Scripting
Gaurav Shinde
 
PPTX
Vim Editor And Basic Scripting (Ch-7)
MohsinHusenManasiya
 
PPTX
Compiler Construction
Ahmed Raza
 
DOC
System software and application software
Sanjay Vasava
 
PDF
Linux commands
debashis rout
 
PDF
dot net unit-1.pdf
Prof. Dr. K. Adisesha
 
PPT
Linux basic commands
MohanKumar Palanichamy
 
Install and configure linux
Vicent Selfa
 
Shell Scripting
Gaurav Shinde
 
Vim Editor And Basic Scripting (Ch-7)
MohsinHusenManasiya
 
Compiler Construction
Ahmed Raza
 
System software and application software
Sanjay Vasava
 
Linux commands
debashis rout
 
dot net unit-1.pdf
Prof. Dr. K. Adisesha
 
Linux basic commands
MohanKumar Palanichamy
 

What's hot (20)

PPTX
Introduction to vb.net
Jaya Kumari
 
PPTX
C basics
thirumalaikumar3
 
PDF
Course 102: Lecture 14: Users and Permissions
Ahmed El-Arabawy
 
PPS
Windows 7
Paras Wadher
 
PPTX
Filepermissions in linux
Subashini Pandiarajan
 
PPTX
Batch FIles
Fredrick Hall
 
PPTX
Golang - Overview of Go (golang) Language
Aniruddha Chakrabarti
 
PPTX
Command-Line 101
Artefactual Systems - AtoM
 
PPTX
Basic dos-commands
parag dhok
 
PPTX
ppt on cmd cammand
SahilChauhan85
 
PDF
How browser work
Manish Trivedi
 
PPTX
Editor structure
Nikhil Palyekar
 
PPTX
What is CSS?
HalaiHansaika
 
PDF
VB PPT by ADI part-1.pdf
Prof. Dr. K. Adisesha
 
PPTX
File Handling and Command Line Arguments in C
Mahendra Yadav
 
PDF
Linux shell
Kenny (netman)
 
PPTX
Programming language
RajThakuri
 
PPTX
DOS - Disk Operating System
Meqdad Darweesh
 
PPT
Linux command ppt
kalyanineve
 
PPTX
structure of a c program
sruthi yandapalli
 
Introduction to vb.net
Jaya Kumari
 
C basics
thirumalaikumar3
 
Course 102: Lecture 14: Users and Permissions
Ahmed El-Arabawy
 
Windows 7
Paras Wadher
 
Filepermissions in linux
Subashini Pandiarajan
 
Batch FIles
Fredrick Hall
 
Golang - Overview of Go (golang) Language
Aniruddha Chakrabarti
 
Command-Line 101
Artefactual Systems - AtoM
 
Basic dos-commands
parag dhok
 
ppt on cmd cammand
SahilChauhan85
 
How browser work
Manish Trivedi
 
Editor structure
Nikhil Palyekar
 
What is CSS?
HalaiHansaika
 
VB PPT by ADI part-1.pdf
Prof. Dr. K. Adisesha
 
File Handling and Command Line Arguments in C
Mahendra Yadav
 
Linux shell
Kenny (netman)
 
Programming language
RajThakuri
 
DOS - Disk Operating System
Meqdad Darweesh
 
Linux command ppt
kalyanineve
 
structure of a c program
sruthi yandapalli
 
Ad

Similar to Ms dos full explanation (20)

DOC
PC Software - Computer Application - Office Automation Tools
zatax
 
PPTX
DOS commands
preetikapri1
 
PPT
Hos
Harleen Johal
 
PPT
Hos
harleen_johal
 
PPTX
Disk Operating System.pptx
DrIrfanulHaqAkhoon
 
PPT
disk-operating-system.ppt c sdsommands cd
TanyaMathur21
 
PDF
CMD Command prompts
Ahmed Hesham
 
PPT
Internal commands.29to30
myrajendra
 
PPT
Internal commands.29to30
myrajendra
 
DOCX
Comp practical
Kritika Sharma
 
PPSX
ch6.ppsx
ssuser5ab112
 
PPT
Introduction to ms dos
Indika Rathninda
 
PDF
lab2.pptx.pdf
ssuser536c36
 
PDF
What is DOS (Disk Operating System).pdf
Growthy.web
 
PPT
Xternal commands.31
myrajendra
 
PPTX
DOS PRESENTATION FROM INFORMATION AND TECNOLOGY PACKAGES SPECIALLY FOR COMPUT...
nidhipaliwal2006
 
PPTX
Ms DOS
Gunjan Singh
 
PDF
33269198 all-commands-in-ms-dos
A.S.M Shmimul Islam.
 
PDF
33269198 all-commands-in-ms-dos(1)
A.S.M Shmimul Islam.
 
PC Software - Computer Application - Office Automation Tools
zatax
 
DOS commands
preetikapri1
 
Disk Operating System.pptx
DrIrfanulHaqAkhoon
 
disk-operating-system.ppt c sdsommands cd
TanyaMathur21
 
CMD Command prompts
Ahmed Hesham
 
Internal commands.29to30
myrajendra
 
Internal commands.29to30
myrajendra
 
Comp practical
Kritika Sharma
 
ch6.ppsx
ssuser5ab112
 
Introduction to ms dos
Indika Rathninda
 
lab2.pptx.pdf
ssuser536c36
 
What is DOS (Disk Operating System).pdf
Growthy.web
 
Xternal commands.31
myrajendra
 
DOS PRESENTATION FROM INFORMATION AND TECNOLOGY PACKAGES SPECIALLY FOR COMPUT...
nidhipaliwal2006
 
Ms DOS
Gunjan Singh
 
33269198 all-commands-in-ms-dos
A.S.M Shmimul Islam.
 
33269198 all-commands-in-ms-dos(1)
A.S.M Shmimul Islam.
 
Ad

Recently uploaded (20)

PDF
Brief History of Internet - Early Days of Internet
sutharharshit158
 
PPTX
IT Runs Better with ThousandEyes AI-driven Assurance
ThousandEyes
 
PDF
Responsible AI and AI Ethics - By Sylvester Ebhonu
Sylvester Ebhonu
 
PPTX
cloud computing vai.pptx for the project
vaibhavdobariyal79
 
PDF
Get More from Fiori Automation - What’s New, What Works, and What’s Next.pdf
Precisely
 
PDF
AI-Cloud-Business-Management-Platforms-The-Key-to-Efficiency-Growth.pdf
Artjoker Software Development Company
 
PPTX
Agile Chennai 18-19 July 2025 | Emerging patterns in Agentic AI by Bharani Su...
AgileNetwork
 
PPTX
The Future of AI & Machine Learning.pptx
pritsen4700
 
PDF
Data_Analytics_vs_Data_Science_vs_BI_by_CA_Suvidha_Chaplot.pdf
CA Suvidha Chaplot
 
PDF
Economic Impact of Data Centres to the Malaysian Economy
flintglobalapac
 
PPTX
Agile Chennai 18-19 July 2025 Ideathon | AI Powered Microfinance Literacy Gui...
AgileNetwork
 
PDF
Unlocking the Future- AI Agents Meet Oracle Database 23ai - AIOUG Yatra 2025.pdf
Sandesh Rao
 
PDF
Make GenAI investments go further with the Dell AI Factory
Principled Technologies
 
PDF
Google I/O Extended 2025 Baku - all ppts
HusseinMalikMammadli
 
PDF
Doc9.....................................
SofiaCollazos
 
PDF
A Strategic Analysis of the MVNO Wave in Emerging Markets.pdf
IPLOOK Networks
 
PPTX
The-Ethical-Hackers-Imperative-Safeguarding-the-Digital-Frontier.pptx
sujalchauhan1305
 
PDF
How ETL Control Logic Keeps Your Pipelines Safe and Reliable.pdf
Stryv Solutions Pvt. Ltd.
 
PDF
OFFOFFBOX™ – A New Era for African Film | Startup Presentation
ambaicciwalkerbrian
 
PDF
Trying to figure out MCP by actually building an app from scratch with open s...
Julien SIMON
 
Brief History of Internet - Early Days of Internet
sutharharshit158
 
IT Runs Better with ThousandEyes AI-driven Assurance
ThousandEyes
 
Responsible AI and AI Ethics - By Sylvester Ebhonu
Sylvester Ebhonu
 
cloud computing vai.pptx for the project
vaibhavdobariyal79
 
Get More from Fiori Automation - What’s New, What Works, and What’s Next.pdf
Precisely
 
AI-Cloud-Business-Management-Platforms-The-Key-to-Efficiency-Growth.pdf
Artjoker Software Development Company
 
Agile Chennai 18-19 July 2025 | Emerging patterns in Agentic AI by Bharani Su...
AgileNetwork
 
The Future of AI & Machine Learning.pptx
pritsen4700
 
Data_Analytics_vs_Data_Science_vs_BI_by_CA_Suvidha_Chaplot.pdf
CA Suvidha Chaplot
 
Economic Impact of Data Centres to the Malaysian Economy
flintglobalapac
 
Agile Chennai 18-19 July 2025 Ideathon | AI Powered Microfinance Literacy Gui...
AgileNetwork
 
Unlocking the Future- AI Agents Meet Oracle Database 23ai - AIOUG Yatra 2025.pdf
Sandesh Rao
 
Make GenAI investments go further with the Dell AI Factory
Principled Technologies
 
Google I/O Extended 2025 Baku - all ppts
HusseinMalikMammadli
 
Doc9.....................................
SofiaCollazos
 
A Strategic Analysis of the MVNO Wave in Emerging Markets.pdf
IPLOOK Networks
 
The-Ethical-Hackers-Imperative-Safeguarding-the-Digital-Frontier.pptx
sujalchauhan1305
 
How ETL Control Logic Keeps Your Pipelines Safe and Reliable.pdf
Stryv Solutions Pvt. Ltd.
 
OFFOFFBOX™ – A New Era for African Film | Startup Presentation
ambaicciwalkerbrian
 
Trying to figure out MCP by actually building an app from scratch with open s...
Julien SIMON
 

Ms dos full explanation

  • 1. Galaxy Computer Education(ISO 9001:2015 CERTIFIED) M.S. DOS DOS: Disk operating System Disk Operating System is the first program that must be loaded in the memory of your PC before you can use it for any application. Different version of DOS, such as 2.0, 3.0, 4.0, 5.0, 6.0, 6.2, 7.0, 8.0 are available. The higher versions have more features and commands. However, the basic commands and features are available in all versions. File, File name & Directory A File is collection of related information. Like the contents of the file folder in a desk, your computer might contain files related to different topic owned by different people. Just as each folder in a file cabinet has a label, each file on a disk has to have a name. This name has two parts a filename and an extension. While naming a file following points should be kept in mind:  File name cannot exceed 8 characters.  Dot or period is optional, can be used for better management of files.  Extension, which is optional, cannot be exceeding 3 characters.  Some name and filename extensions have special meaning to DOS and to your computer usage of such names should be avoided. A directory on a disk is like a table of contents in a book. It contains the name of the file, size of file. The data and time are also stamped, when files are created or modified.
  • 2. Galaxy Computer Education(ISO 9001:2015 CERTIFIED) Internal & external DOS Commands There are two types of DOS commands – internal & external. The internal commands are those commands that are automatically loaded in the memory of your PC when DOS is loaded. These commands can be used without the need of any DOS file or diskette. The internal commands are simple and are used for common tasks such as copying, renaming or erasing files; displaying a list of files in a diskette; creating and changing directories; changing the current date in your PC etc. the external commands are used for relatively complex jobs, such as copying an entire diskette, formatting a diskette; comparing or joining files, sorting text etc. Internal commands External Commands DATE FORMAT TIME VER DIR DIR/P DIR/W COPY CON TYPE EDIT DEL CLS RENAME MD BATCH FILE CD WILD CARDS RD COPY ATTRIB
  • 3. Galaxy Computer Education(ISO 9001:2015 CERTIFIED) Internal Commands: 1. To Come Out Window C:Windows> CD..  2. Date To See or Change the current Date of your System. Syntax C:>Date  The Current Date is Tue 02-03-2009 [American Format] Enter the New Date (mm-dd-yy) ………….. 3. Time To see or to Change the Current time of your system. Syntax C:>Time The Current Time is 3:35:49.34a Enter the New Time …………. 4. Ver To see the version of your system. Syntax C:/>Ver  Windows 98 [Version 4.10.2222] 5. Dir To see the list of files and folders existing in your disk. Syntax C:/>Dir 
  • 4. Galaxy Computer Education(ISO 9001:2015 CERTIFIED) 6. Dir/p To see the Directory Page Wise. Syntax C:/>Dir/p  7. Dir/w To see the Directory Width Wise. Syntax C:/>Dir/w  8. Copy con This command is used to create a Text file on your disk. Syntax C:/>Copy con <File name>  Example: C:/>copy con ABC Type your text (Hi…! My name is Money Gupta. My institute name is Galaxy) Press <ctrl + z> to save the file. 9. Type This command is used to see the contents of any existing file. Syntax C:/>Type <file name>  Example: C:/>type ABC 10. Edit This command is used to make changes in any text file. Syntax C:/>Edit <File name>  Example: C:/>Edit ABC 11. Cls This command is used to clear the screen.
  • 5. Galaxy Computer Education(ISO 9001:2015 CERTIFIED) Syntax C:/>Cls  12. Del This command is used to delete the files from your disk. Syntax C:/>Del <file name>  Example: C:/>Del ABC 13. Rename Just as there are times when you need to assign a anew name to file in your office, there are times when you want to rename a file on the disk. The RENAME command or REN (short name) can change a file’s name or extension or both. The rename command has two parameters. Syntax C:/>Rename <Old name> <New file name> Example: C:/>Rename abc pqr 14. Copy This Command is used to create another copy of any existing file in same directory. Syntax C:/>Copy <Original file name> <copied file name>  Example: C:/>copy pqr mno  This Command is used to create another copy of any existing file in another directory. Syntax C:/>Copy <Original file name> <directory name>  Example: C:/>copy abc mohan  15. MD Make Directory.
  • 6. Galaxy Computer Education(ISO 9001:2015 CERTIFIED) MD command is used to create a new directory. Syntax C:/>md [Dir Name]  Example: C:/>md mno  16. CD Change Directory & Sub- directory CD Command is used to Change & open the Directory or Sub- directory. Syntax C:/>CD [Dir Name]  Example: C:/>cd mno  Your mno directory is open. C:/mno> To come out for your directory. C:/mno>cd..  17. RD Remove Directory & Sub- directory RD Command is used to remove the Directory or Sub-directory. 1. Directory should be Empty. 2. Path should be Valid Syntax C:/>rd [dir name]  Example: C:/>rd mno  18. Attrib This command is used to hide the file & Protect the file. 1.) +H = Hide the file. Syntax
  • 7. Galaxy Computer Education(ISO 9001:2015 CERTIFIED) C:/>attrib +h <File name>  Example: C:/>attrib +h abc  2.) -H = Unhide the file. Syntax C:/>attrib -h <File name>  Example: C:/>attrib -h abc  3.) +R = Read only file Syntax C:/>attrib +r <File name>  Example: C:/>attrib +r abc  4.) -R = Remove read only Syntax C:/>attrib -r <File name>  Example: C:/>attrib -r abc  External Commands 19. Batch File Group of Dos commands is called batch file. A Batch file should have Extension .bat .
  • 8. Galaxy Computer Education(ISO 9001:2015 CERTIFIED) Syntax C:/>Copy con <Batch file name.bat>  …… …… …… Dos Commands …… …… …… For save the file ctrl+z Example: C:/>Copy con abc.bat  Date Ver Time Dir Dir/p Dir/w Cls ^Z (ctrl+z)  1 File(s) copied To run the file only type file name then press enter. 20. Wildcard Wildcard Character are those character which are used for substituting one character or a set of character. The wildcard characters are used to restrict the scope of a DOS command to only those files which match pattern specified. These are of two types ----‘*’ and ‘?’, where ‘*’ substitutes a set of character and ‘?’ substitutes a character at a single particular position.
  • 9. Galaxy Computer Education(ISO 9001:2015 CERTIFIED) (1) .* Syntax C:/>dir <filename>.*  This command has displayed the directory with all the file names having their primary name as <file name>, irrespective of the extension. Example: C:/>dir abc.*  (2) *.* Syntax C:/>dir L* The given command has displayed all files stating with ‘L’ regardless of the extension in the directory, this command can also written as DIR L*.* The command has picked up all files with extension .DOC and displayed it. The above command can be written as ‘dir.doc’ to get the same effect. 21. FORMAT This is an external command of DOS; to execute this command the file FORMAT.COM is required. Purpose: This command is used to create a new tracks and sectors on your system disk. The number of the sectors and tracks depends on the capacity of the disk. Syntax: C :>format <drive name> Example: If a user wants to format his drive a then the procedure is: