SlideShare a Scribd company logo
1 of 13
Download to read offline
LECTURE SCHEDULE 5
Operating System – Some Fundamental DOS Commands,Rules for naming files in
DOS and Types of files
Operating System
Operating system is a set of software that controls and manages hardware and basic system
operations for a computer. The operating system loads programs into the computer's memory,
runs these programs, and manages peripherals like disks and printers.
Example:
Disk Operating System (DOS)
Windows
LINUX
Mac
UNIX
Disk Operating System (DOS)
• In the 1980s or early 1990s, the operating system that shipped with most PCs was a
version of the Disk Operating System (DOS) created by Microsoft: MS-DOS.
• MS-DOS is a disk-based, single-user, single-task and character based user interface
(CUI) operating system.
Goto MSDOS from Windows Operating System:
Click Start Button  Choose Program  Choose Accessories  Click Command Prompt as
shown below:
Or Click Start Button  Choose Run  Type cmd in the Open tab as shown below:
Command Prompt will get displayed as shown:
The DOS commands can be entered in the command prompt and executed.
Some Examples of DOS commands
DIR Command
The dir command allows you to see the available files in the current and/or parent directories.
Examples:
1. DIR
Lists all files and directories in the directory that you are currently in.
2. dir /w
If information on the date / time and other information on the files are not
needed, then this command can be used to list just the files and directories going
horizontally, taking as little as space needed.
3. dir /on
List the files in alphabetical order by the names of the files.
4. dir /o-n
List the files in reverse alphabetical order by the names of the files.
FORMAT Command
FORMAT command is used to erase all information of a diskette or fixed drive.
1. format a:
Would erase all the contents off a disk. Commonly used on a diskette that has not been
formatted or on a diskette you wish to erase.
2. format a: /q
Quickly erases all the contents of a floppy diskette. Commonly used to quickly erase all
information on the diskette.
3. format c:
This would erase all the contents of C: hard disk drive. In other words, unless you wish
to erase all your computer's information, this command should not be done unless you're
planning to start over.
COPY Command
COPY command allows to copy one or more files to an alternate location.
Examples:
1. copy *.* a:
Copy all files in the current directory to the a disk drive.
2. copy file1.txt file2.txt
Copy the contents of file1.txt to file2.txt
3. copy myfile1.txt+myfile2.txt
Copy the contents in myfile2.txt and combines it with the contents in myfile1.txt.
PATH Command
Path is used to specify the location where MS-DOS looks when using a command. For example,
when using the command "format", if the path is not specified to where the command is you will
receive bad command or file name.
Example:
LABEL Command
Label is used to view or change the label of the computer disk drives.
Example:
label a: mydisk
This would label the disk currently in the drive to "mydisk", but will not label if your disk is
write protected.
VOL Command
VOL command displays the volume information about the designated drive.
MD (Make Directory) Command
MD command allows to create directories in MS-DOS.
Examples:
1. md test
Creates the "test" directory in the directory in the currently directory.
2. md c:test
Creates the "test" directory in the c: directory.
CD (Change Directory) Command
CD (Change Directory) is a command used to switch directories in MS-DOS.
Examples:
1. cd
Goes to the highest level, the root of the drive.
2. cd..
Goes back one directory.
3. cd
Typing cd alone will print the working directory.
DEL Command
DEL command is used to delete files from the computer. Deleting files from MS-DOS does not
send files to the recycle bin.
Examples:
1. del test.tmp
Deletes the test.tmp in the directory that you currently are in, if the file exists.
2. del c:windowstest.tmp
Delete the c:windowstest.tmp in the windows directory if it exists.
Rules for naming files in DOS
1. The combination of the following characters can be used for writing names of directories and
files:
Alphabets A to Z (both capital and small).
Digits 0 to 9.
Special characters like spaces ' ! A 0 $ο & # @ % '-{}[]+-=-- .
2. Some special characters which cannot be used are? /  : 1< > II *.
3. There are some words specifically reserved for special files and are not allowed if used
singly. They are CON, COM1, COM2, COM3. COM4, AVX, LPT1, LPT2, LPT3, PRN, NUL.
These words can be used in combination such as ASCon, deltacom1, Panamavx. etc.
4. Files with extension names like .EXE, .COM and .BAT are called executable files and are
given a special status by DOS.
5. Dot (.) is allowed only once.
Types of files in DOS
DOS supports a wide variety of files. The type of the file can be identified with the extension of
the file in the filename. The three letters following the name of the file is called as the extension
of the file.
Examples:
.bak
Used by programs and users to make a copy of an existing file for safety and/or archive
purposes.
.bas
A basic computer-language program file.
.bat
This is used for a batch file. Such a file is a series of commands in mostly plain english
which perform an operation in DOS automatically. They come with some programs and
may also be written by a user to make shortcuts or perform operations like sorting or
backups.
.bin
A binary file.
.c
A file of programming language in the C format.
.dat
Used to hold information about a particular aspect of a program or about a particular
operation. The latter may update a .dat file to reflect recent changes. Other operations in
the program may then view this file and other .dat files while determining a course of
action.
.db or .dbf
These are used by data base programs to hold the users' data information. Other
programs may use them to hold information used by the application itself for such things
as printer specifications regarding printer selection by the user.
.dir
Used to house a directory list, especially for communications programs.
.exe
An executable file.
References
1. http://www.chebucto.ns.ca/~ak621/DOS/DOS-Ext.html
2. http://www.computerhope.com/msdos.htm

More Related Content

What's hot

Internal commands of dos
Internal commands of dosInternal commands of dos
Internal commands of dosNargiskhan786
 
Dos commad. by ammar nawab ppt
Dos commad. by ammar nawab pptDos commad. by ammar nawab ppt
Dos commad. by ammar nawab pptAmmar_n
 
DOS - Disk Operating System
DOS - Disk Operating SystemDOS - Disk Operating System
DOS - Disk Operating SystemMeqdad Darweesh
 
Disk operating system
Disk operating systemDisk operating system
Disk operating systemRaza Jaan
 
CMD Command prompts
CMD Command promptsCMD Command prompts
CMD Command promptsAhmed Hesham
 
Dos%20commands(1)
Dos%20commands(1)Dos%20commands(1)
Dos%20commands(1)IDHAMUKI
 
Bba ii cam u i-operating system concept
Bba ii cam  u i-operating system conceptBba ii cam  u i-operating system concept
Bba ii cam u i-operating system conceptRai University
 
Lect basic computer
Lect basic computer Lect basic computer
Lect basic computer susir
 
Ms dos full explanation
Ms dos full explanation Ms dos full explanation
Ms dos full explanation ParmvirSingh11
 
Ms dos
Ms dosMs dos
Ms dosNICT
 
A z index of the windows cmd command line
A z index of the windows cmd command lineA z index of the windows cmd command line
A z index of the windows cmd command lineproser tech
 

What's hot (20)

Introduction to ms dos
Introduction to ms dosIntroduction to ms dos
Introduction to ms dos
 
Internal commands of dos
Internal commands of dosInternal commands of dos
Internal commands of dos
 
Dos commad. by ammar nawab ppt
Dos commad. by ammar nawab pptDos commad. by ammar nawab ppt
Dos commad. by ammar nawab ppt
 
DOS - Disk Operating System
DOS - Disk Operating SystemDOS - Disk Operating System
DOS - Disk Operating System
 
Dos commands new
Dos commands new Dos commands new
Dos commands new
 
Disk operating system
Disk operating systemDisk operating system
Disk operating system
 
Ms dos tutorial
Ms dos tutorialMs dos tutorial
Ms dos tutorial
 
CMD Command prompts
CMD Command promptsCMD Command prompts
CMD Command prompts
 
Dos
DosDos
Dos
 
Dos%20commands(1)
Dos%20commands(1)Dos%20commands(1)
Dos%20commands(1)
 
MS-DOS
MS-DOSMS-DOS
MS-DOS
 
Bba ii cam u i-operating system concept
Bba ii cam  u i-operating system conceptBba ii cam  u i-operating system concept
Bba ii cam u i-operating system concept
 
Dos 16
Dos 16Dos 16
Dos 16
 
Lect basic computer
Lect basic computer Lect basic computer
Lect basic computer
 
Comands of dos
Comands of dosComands of dos
Comands of dos
 
Ms dos full explanation
Ms dos full explanation Ms dos full explanation
Ms dos full explanation
 
Comp practical
Comp practicalComp practical
Comp practical
 
Ms dos
Ms dosMs dos
Ms dos
 
CMD Command
CMD CommandCMD Command
CMD Command
 
A z index of the windows cmd command line
A z index of the windows cmd command lineA z index of the windows cmd command line
A z index of the windows cmd command line
 

Viewers also liked

StuyHS 2012 collegeApply
StuyHS 2012 collegeApplyStuyHS 2012 collegeApply
StuyHS 2012 collegeApplymyslide07
 
Ppp slideshow
Ppp slideshowPpp slideshow
Ppp slideshowschazel86
 
[한국핀테크포럼] 제6회 정기포럼
[한국핀테크포럼] 제6회 정기포럼[한국핀테크포럼] 제6회 정기포럼
[한국핀테크포럼] 제6회 정기포럼Hyeseon Yoon
 
KUBE 2015 Markedsløsninger for neste generasjon kraftsystem
KUBE 2015 Markedsløsninger for neste generasjon kraftsystemKUBE 2015 Markedsløsninger for neste generasjon kraftsystem
KUBE 2015 Markedsløsninger for neste generasjon kraftsystemEivind Breidlid
 
Best Children's Hospitals 2016
Best Children's Hospitals 2016Best Children's Hospitals 2016
Best Children's Hospitals 2016Adrian Rubin
 
грант ГБУЗ РК «РДКБ»
грант ГБУЗ РК «РДКБ»грант ГБУЗ РК «РДКБ»
грант ГБУЗ РК «РДКБ»RDKB
 
USA Today Case Study Challenge 2013
USA Today Case Study Challenge 2013USA Today Case Study Challenge 2013
USA Today Case Study Challenge 2013Paolo Mazza
 
Cultural Change - Monsters and heroes
Cultural Change - Monsters and heroesCultural Change - Monsters and heroes
Cultural Change - Monsters and heroesStefan Norrvall
 
Abdominal obesity : the risks factors .Redustim, a medical device solution
Abdominal obesity : the risks factors .Redustim, a medical device solutionAbdominal obesity : the risks factors .Redustim, a medical device solution
Abdominal obesity : the risks factors .Redustim, a medical device solutionCOSMOSOFT SAS
 
Politicas monetarias-vs-fiscales-trabajo-final-macroeconomia
Politicas monetarias-vs-fiscales-trabajo-final-macroeconomiaPoliticas monetarias-vs-fiscales-trabajo-final-macroeconomia
Politicas monetarias-vs-fiscales-trabajo-final-macroeconomiajuan pablo oliva vaca
 
Teoria dell’orbitale molecolare
Teoria dell’orbitale molecolare Teoria dell’orbitale molecolare
Teoria dell’orbitale molecolare mauro_sabella
 
Regulatory reporting of market risk underthe Basel III framework
Regulatory reporting of market risk underthe Basel III frameworkRegulatory reporting of market risk underthe Basel III framework
Regulatory reporting of market risk underthe Basel III frameworkQuan Risk
 
الباب الثاني صياغة حل المسائل
الباب الثاني صياغة حل المسائلالباب الثاني صياغة حل المسائل
الباب الثاني صياغة حل المسائلsarashaikh14
 
Reservacion de libros impresos
Reservacion de libros impresosReservacion de libros impresos
Reservacion de libros impresosBibliotecas UDLAP
 

Viewers also liked (15)

StuyHS 2012 collegeApply
StuyHS 2012 collegeApplyStuyHS 2012 collegeApply
StuyHS 2012 collegeApply
 
Ppp slideshow
Ppp slideshowPpp slideshow
Ppp slideshow
 
[한국핀테크포럼] 제6회 정기포럼
[한국핀테크포럼] 제6회 정기포럼[한국핀테크포럼] 제6회 정기포럼
[한국핀테크포럼] 제6회 정기포럼
 
KUBE 2015 Markedsløsninger for neste generasjon kraftsystem
KUBE 2015 Markedsløsninger for neste generasjon kraftsystemKUBE 2015 Markedsløsninger for neste generasjon kraftsystem
KUBE 2015 Markedsløsninger for neste generasjon kraftsystem
 
Best Children's Hospitals 2016
Best Children's Hospitals 2016Best Children's Hospitals 2016
Best Children's Hospitals 2016
 
Neuroipofisi
NeuroipofisiNeuroipofisi
Neuroipofisi
 
грант ГБУЗ РК «РДКБ»
грант ГБУЗ РК «РДКБ»грант ГБУЗ РК «РДКБ»
грант ГБУЗ РК «РДКБ»
 
USA Today Case Study Challenge 2013
USA Today Case Study Challenge 2013USA Today Case Study Challenge 2013
USA Today Case Study Challenge 2013
 
Cultural Change - Monsters and heroes
Cultural Change - Monsters and heroesCultural Change - Monsters and heroes
Cultural Change - Monsters and heroes
 
Abdominal obesity : the risks factors .Redustim, a medical device solution
Abdominal obesity : the risks factors .Redustim, a medical device solutionAbdominal obesity : the risks factors .Redustim, a medical device solution
Abdominal obesity : the risks factors .Redustim, a medical device solution
 
Politicas monetarias-vs-fiscales-trabajo-final-macroeconomia
Politicas monetarias-vs-fiscales-trabajo-final-macroeconomiaPoliticas monetarias-vs-fiscales-trabajo-final-macroeconomia
Politicas monetarias-vs-fiscales-trabajo-final-macroeconomia
 
Teoria dell’orbitale molecolare
Teoria dell’orbitale molecolare Teoria dell’orbitale molecolare
Teoria dell’orbitale molecolare
 
Regulatory reporting of market risk underthe Basel III framework
Regulatory reporting of market risk underthe Basel III frameworkRegulatory reporting of market risk underthe Basel III framework
Regulatory reporting of market risk underthe Basel III framework
 
الباب الثاني صياغة حل المسائل
الباب الثاني صياغة حل المسائلالباب الثاني صياغة حل المسائل
الباب الثاني صياغة حل المسائل
 
Reservacion de libros impresos
Reservacion de libros impresosReservacion de libros impresos
Reservacion de libros impresos
 

Similar to Lec05

PC Software - Computer Application - Office Automation Tools
PC Software  -  Computer Application - Office Automation ToolsPC Software  -  Computer Application - Office Automation Tools
PC Software - Computer Application - Office Automation Toolszatax
 
ICPS operating system and services Unit 3 Notes .pdf
ICPS operating system and services Unit 3 Notes .pdfICPS operating system and services Unit 3 Notes .pdf
ICPS operating system and services Unit 3 Notes .pdfshubhangisonawane6
 
Lab6FolderF1GraphicPic.pdfPicture of OS Lab.docx
Lab6FolderF1GraphicPic.pdfPicture of OS  Lab.docxLab6FolderF1GraphicPic.pdfPicture of OS  Lab.docx
Lab6FolderF1GraphicPic.pdfPicture of OS Lab.docxsmile790243
 
disk-operating-system.ppt
disk-operating-system.pptdisk-operating-system.ppt
disk-operating-system.pptRatishKumar33
 
Module 3 Using Linux Softwares.
Module 3 Using Linux Softwares.Module 3 Using Linux Softwares.
Module 3 Using Linux Softwares.Tushar B Kute
 
What is DOS (Disk Operating System).pdf
What is DOS (Disk Operating System).pdfWhat is DOS (Disk Operating System).pdf
What is DOS (Disk Operating System).pdfRohitRoshanBengROHIT
 
33269198 all-commands-in-ms-dos(1)
33269198 all-commands-in-ms-dos(1)33269198 all-commands-in-ms-dos(1)
33269198 all-commands-in-ms-dos(1)A.S.M Shmimul Islam.
 
Dos prompt, types of commands .27 t028
Dos prompt, types of commands  .27 t028Dos prompt, types of commands  .27 t028
Dos prompt, types of commands .27 t028myrajendra
 
The MS-DOS File System.pptx
The MS-DOS File System.pptxThe MS-DOS File System.pptx
The MS-DOS File System.pptxemsResulzade1
 

Similar to Lec05 (20)

PC Software - Computer Application - Office Automation Tools
PC Software  -  Computer Application - Office Automation ToolsPC Software  -  Computer Application - Office Automation Tools
PC Software - Computer Application - Office Automation Tools
 
ch6.ppsx
ch6.ppsxch6.ppsx
ch6.ppsx
 
p_ms-dos-new.ppt
p_ms-dos-new.pptp_ms-dos-new.ppt
p_ms-dos-new.ppt
 
Dos_Commands.ppt
Dos_Commands.pptDos_Commands.ppt
Dos_Commands.ppt
 
Msdos crash course
Msdos crash courseMsdos crash course
Msdos crash course
 
lab2.pptx.pdf
lab2.pptx.pdflab2.pptx.pdf
lab2.pptx.pdf
 
ICPS operating system and services Unit 3 Notes .pdf
ICPS operating system and services Unit 3 Notes .pdfICPS operating system and services Unit 3 Notes .pdf
ICPS operating system and services Unit 3 Notes .pdf
 
Lab6FolderF1GraphicPic.pdfPicture of OS Lab.docx
Lab6FolderF1GraphicPic.pdfPicture of OS  Lab.docxLab6FolderF1GraphicPic.pdfPicture of OS  Lab.docx
Lab6FolderF1GraphicPic.pdfPicture of OS Lab.docx
 
disk-operating-system.ppt
disk-operating-system.pptdisk-operating-system.ppt
disk-operating-system.ppt
 
Module 3 Using Linux Softwares.
Module 3 Using Linux Softwares.Module 3 Using Linux Softwares.
Module 3 Using Linux Softwares.
 
Part 2
Part 2Part 2
Part 2
 
Disk Operating System.pptx
Disk Operating System.pptxDisk Operating System.pptx
Disk Operating System.pptx
 
What is DOS (Disk Operating System).pdf
What is DOS (Disk Operating System).pdfWhat is DOS (Disk Operating System).pdf
What is DOS (Disk Operating System).pdf
 
33269198 all-commands-in-ms-dos(1)
33269198 all-commands-in-ms-dos(1)33269198 all-commands-in-ms-dos(1)
33269198 all-commands-in-ms-dos(1)
 
33269198 all-commands-in-ms-dos
33269198 all-commands-in-ms-dos33269198 all-commands-in-ms-dos
33269198 all-commands-in-ms-dos
 
Hos
HosHos
Hos
 
Hos
HosHos
Hos
 
Dos prompt, types of commands .27 t028
Dos prompt, types of commands  .27 t028Dos prompt, types of commands  .27 t028
Dos prompt, types of commands .27 t028
 
168054408 cc1
168054408 cc1168054408 cc1
168054408 cc1
 
The MS-DOS File System.pptx
The MS-DOS File System.pptxThe MS-DOS File System.pptx
The MS-DOS File System.pptx
 

More from A.S.M Shmimul Islam.

Part e7 i_sdio_wireless_lan_simplified_addendum_ver1.10_final_140325
Part e7 i_sdio_wireless_lan_simplified_addendum_ver1.10_final_140325Part e7 i_sdio_wireless_lan_simplified_addendum_ver1.10_final_140325
Part e7 i_sdio_wireless_lan_simplified_addendum_ver1.10_final_140325A.S.M Shmimul Islam.
 
Packettracersimulationlabl3routing 130306235157-phpapp02
Packettracersimulationlabl3routing 130306235157-phpapp02Packettracersimulationlabl3routing 130306235157-phpapp02
Packettracersimulationlabl3routing 130306235157-phpapp02A.S.M Shmimul Islam.
 
A new-method-of-high-speed-p2 p-file-transfer-using-sd-card-and-transferjet-t...
A new-method-of-high-speed-p2 p-file-transfer-using-sd-card-and-transferjet-t...A new-method-of-high-speed-p2 p-file-transfer-using-sd-card-and-transferjet-t...
A new-method-of-high-speed-p2 p-file-transfer-using-sd-card-and-transferjet-t...A.S.M Shmimul Islam.
 
Activating new mobile_services_and_business_models_with_smart_sd_memory_cards...
Activating new mobile_services_and_business_models_with_smart_sd_memory_cards...Activating new mobile_services_and_business_models_with_smart_sd_memory_cards...
Activating new mobile_services_and_business_models_with_smart_sd_memory_cards...A.S.M Shmimul Islam.
 
1000ccnaquestionsandanswers 091215082359-phpapp02
1000ccnaquestionsandanswers 091215082359-phpapp021000ccnaquestionsandanswers 091215082359-phpapp02
1000ccnaquestionsandanswers 091215082359-phpapp02A.S.M Shmimul Islam.
 

More from A.S.M Shmimul Islam. (12)

Ccnacommand 140205001152-phpapp01
Ccnacommand 140205001152-phpapp01Ccnacommand 140205001152-phpapp01
Ccnacommand 140205001152-phpapp01
 
Smart microsd-intro
Smart microsd-introSmart microsd-intro
Smart microsd-intro
 
Part e2 100
Part e2 100Part e2 100
Part e2 100
 
Part e7 i_sdio_wireless_lan_simplified_addendum_ver1.10_final_140325
Part e7 i_sdio_wireless_lan_simplified_addendum_ver1.10_final_140325Part e7 i_sdio_wireless_lan_simplified_addendum_ver1.10_final_140325
Part e7 i_sdio_wireless_lan_simplified_addendum_ver1.10_final_140325
 
Packettracersimulationlabl3routing 130306235157-phpapp02
Packettracersimulationlabl3routing 130306235157-phpapp02Packettracersimulationlabl3routing 130306235157-phpapp02
Packettracersimulationlabl3routing 130306235157-phpapp02
 
L1 msdos primer
L1 msdos primerL1 msdos primer
L1 msdos primer
 
Dos manual
Dos manualDos manual
Dos manual
 
Cf book
Cf bookCf book
Cf book
 
Ccna command
Ccna commandCcna command
Ccna command
 
A new-method-of-high-speed-p2 p-file-transfer-using-sd-card-and-transferjet-t...
A new-method-of-high-speed-p2 p-file-transfer-using-sd-card-and-transferjet-t...A new-method-of-high-speed-p2 p-file-transfer-using-sd-card-and-transferjet-t...
A new-method-of-high-speed-p2 p-file-transfer-using-sd-card-and-transferjet-t...
 
Activating new mobile_services_and_business_models_with_smart_sd_memory_cards...
Activating new mobile_services_and_business_models_with_smart_sd_memory_cards...Activating new mobile_services_and_business_models_with_smart_sd_memory_cards...
Activating new mobile_services_and_business_models_with_smart_sd_memory_cards...
 
1000ccnaquestionsandanswers 091215082359-phpapp02
1000ccnaquestionsandanswers 091215082359-phpapp021000ccnaquestionsandanswers 091215082359-phpapp02
1000ccnaquestionsandanswers 091215082359-phpapp02
 

Recently uploaded

Implementing Zero Trust strategy with Azure
Implementing Zero Trust strategy with AzureImplementing Zero Trust strategy with Azure
Implementing Zero Trust strategy with AzureDinusha Kumarasiri
 
Steps To Getting Up And Running Quickly With MyTimeClock Employee Scheduling ...
Steps To Getting Up And Running Quickly With MyTimeClock Employee Scheduling ...Steps To Getting Up And Running Quickly With MyTimeClock Employee Scheduling ...
Steps To Getting Up And Running Quickly With MyTimeClock Employee Scheduling ...MyIntelliSource, Inc.
 
Russian Call Girls in Karol Bagh Aasnvi ➡️ 8264348440 💋📞 Independent Escort S...
Russian Call Girls in Karol Bagh Aasnvi ➡️ 8264348440 💋📞 Independent Escort S...Russian Call Girls in Karol Bagh Aasnvi ➡️ 8264348440 💋📞 Independent Escort S...
Russian Call Girls in Karol Bagh Aasnvi ➡️ 8264348440 💋📞 Independent Escort S...soniya singh
 
cybersecurity notes for mca students for learning
cybersecurity notes for mca students for learningcybersecurity notes for mca students for learning
cybersecurity notes for mca students for learningVitsRangannavar
 
Der Spagat zwischen BIAS und FAIRNESS (2024)
Der Spagat zwischen BIAS und FAIRNESS (2024)Der Spagat zwischen BIAS und FAIRNESS (2024)
Der Spagat zwischen BIAS und FAIRNESS (2024)OPEN KNOWLEDGE GmbH
 
The Essentials of Digital Experience Monitoring_ A Comprehensive Guide.pdf
The Essentials of Digital Experience Monitoring_ A Comprehensive Guide.pdfThe Essentials of Digital Experience Monitoring_ A Comprehensive Guide.pdf
The Essentials of Digital Experience Monitoring_ A Comprehensive Guide.pdfkalichargn70th171
 
XpertSolvers: Your Partner in Building Innovative Software Solutions
XpertSolvers: Your Partner in Building Innovative Software SolutionsXpertSolvers: Your Partner in Building Innovative Software Solutions
XpertSolvers: Your Partner in Building Innovative Software SolutionsMehedi Hasan Shohan
 
What are the features of Vehicle Tracking System?
What are the features of Vehicle Tracking System?What are the features of Vehicle Tracking System?
What are the features of Vehicle Tracking System?Watsoo Telematics
 
(Genuine) Escort Service Lucknow | Starting ₹,5K To @25k with A/C 🧑🏽‍❤️‍🧑🏻 89...
(Genuine) Escort Service Lucknow | Starting ₹,5K To @25k with A/C 🧑🏽‍❤️‍🧑🏻 89...(Genuine) Escort Service Lucknow | Starting ₹,5K To @25k with A/C 🧑🏽‍❤️‍🧑🏻 89...
(Genuine) Escort Service Lucknow | Starting ₹,5K To @25k with A/C 🧑🏽‍❤️‍🧑🏻 89...gurkirankumar98700
 
办理学位证(UQ文凭证书)昆士兰大学毕业证成绩单原版一模一样
办理学位证(UQ文凭证书)昆士兰大学毕业证成绩单原版一模一样办理学位证(UQ文凭证书)昆士兰大学毕业证成绩单原版一模一样
办理学位证(UQ文凭证书)昆士兰大学毕业证成绩单原版一模一样umasea
 
Try MyIntelliAccount Cloud Accounting Software As A Service Solution Risk Fre...
Try MyIntelliAccount Cloud Accounting Software As A Service Solution Risk Fre...Try MyIntelliAccount Cloud Accounting Software As A Service Solution Risk Fre...
Try MyIntelliAccount Cloud Accounting Software As A Service Solution Risk Fre...MyIntelliSource, Inc.
 
Short Story: Unveiling the Reasoning Abilities of Large Language Models by Ke...
Short Story: Unveiling the Reasoning Abilities of Large Language Models by Ke...Short Story: Unveiling the Reasoning Abilities of Large Language Models by Ke...
Short Story: Unveiling the Reasoning Abilities of Large Language Models by Ke...kellynguyen01
 
Project Based Learning (A.I).pptx detail explanation
Project Based Learning (A.I).pptx detail explanationProject Based Learning (A.I).pptx detail explanation
Project Based Learning (A.I).pptx detail explanationkaushalgiri8080
 
Automate your Kamailio Test Calls - Kamailio World 2024
Automate your Kamailio Test Calls - Kamailio World 2024Automate your Kamailio Test Calls - Kamailio World 2024
Automate your Kamailio Test Calls - Kamailio World 2024Andreas Granig
 
Salesforce Certified Field Service Consultant
Salesforce Certified Field Service ConsultantSalesforce Certified Field Service Consultant
Salesforce Certified Field Service ConsultantAxelRicardoTrocheRiq
 
KnowAPIs-UnknownPerf-jaxMainz-2024 (1).pptx
KnowAPIs-UnknownPerf-jaxMainz-2024 (1).pptxKnowAPIs-UnknownPerf-jaxMainz-2024 (1).pptx
KnowAPIs-UnknownPerf-jaxMainz-2024 (1).pptxTier1 app
 
BATTLEFIELD ORM: TIPS, TACTICS AND STRATEGIES FOR CONQUERING YOUR DATABASE
BATTLEFIELD ORM: TIPS, TACTICS AND STRATEGIES FOR CONQUERING YOUR DATABASEBATTLEFIELD ORM: TIPS, TACTICS AND STRATEGIES FOR CONQUERING YOUR DATABASE
BATTLEFIELD ORM: TIPS, TACTICS AND STRATEGIES FOR CONQUERING YOUR DATABASEOrtus Solutions, Corp
 
Asset Management Software - Infographic
Asset Management Software - InfographicAsset Management Software - Infographic
Asset Management Software - InfographicHr365.us smith
 
why an Opensea Clone Script might be your perfect match.pdf
why an Opensea Clone Script might be your perfect match.pdfwhy an Opensea Clone Script might be your perfect match.pdf
why an Opensea Clone Script might be your perfect match.pdfjoe51371421
 
Building Real-Time Data Pipelines: Stream & Batch Processing workshop Slide
Building Real-Time Data Pipelines: Stream & Batch Processing workshop SlideBuilding Real-Time Data Pipelines: Stream & Batch Processing workshop Slide
Building Real-Time Data Pipelines: Stream & Batch Processing workshop SlideChristina Lin
 

Recently uploaded (20)

Implementing Zero Trust strategy with Azure
Implementing Zero Trust strategy with AzureImplementing Zero Trust strategy with Azure
Implementing Zero Trust strategy with Azure
 
Steps To Getting Up And Running Quickly With MyTimeClock Employee Scheduling ...
Steps To Getting Up And Running Quickly With MyTimeClock Employee Scheduling ...Steps To Getting Up And Running Quickly With MyTimeClock Employee Scheduling ...
Steps To Getting Up And Running Quickly With MyTimeClock Employee Scheduling ...
 
Russian Call Girls in Karol Bagh Aasnvi ➡️ 8264348440 💋📞 Independent Escort S...
Russian Call Girls in Karol Bagh Aasnvi ➡️ 8264348440 💋📞 Independent Escort S...Russian Call Girls in Karol Bagh Aasnvi ➡️ 8264348440 💋📞 Independent Escort S...
Russian Call Girls in Karol Bagh Aasnvi ➡️ 8264348440 💋📞 Independent Escort S...
 
cybersecurity notes for mca students for learning
cybersecurity notes for mca students for learningcybersecurity notes for mca students for learning
cybersecurity notes for mca students for learning
 
Der Spagat zwischen BIAS und FAIRNESS (2024)
Der Spagat zwischen BIAS und FAIRNESS (2024)Der Spagat zwischen BIAS und FAIRNESS (2024)
Der Spagat zwischen BIAS und FAIRNESS (2024)
 
The Essentials of Digital Experience Monitoring_ A Comprehensive Guide.pdf
The Essentials of Digital Experience Monitoring_ A Comprehensive Guide.pdfThe Essentials of Digital Experience Monitoring_ A Comprehensive Guide.pdf
The Essentials of Digital Experience Monitoring_ A Comprehensive Guide.pdf
 
XpertSolvers: Your Partner in Building Innovative Software Solutions
XpertSolvers: Your Partner in Building Innovative Software SolutionsXpertSolvers: Your Partner in Building Innovative Software Solutions
XpertSolvers: Your Partner in Building Innovative Software Solutions
 
What are the features of Vehicle Tracking System?
What are the features of Vehicle Tracking System?What are the features of Vehicle Tracking System?
What are the features of Vehicle Tracking System?
 
(Genuine) Escort Service Lucknow | Starting ₹,5K To @25k with A/C 🧑🏽‍❤️‍🧑🏻 89...
(Genuine) Escort Service Lucknow | Starting ₹,5K To @25k with A/C 🧑🏽‍❤️‍🧑🏻 89...(Genuine) Escort Service Lucknow | Starting ₹,5K To @25k with A/C 🧑🏽‍❤️‍🧑🏻 89...
(Genuine) Escort Service Lucknow | Starting ₹,5K To @25k with A/C 🧑🏽‍❤️‍🧑🏻 89...
 
办理学位证(UQ文凭证书)昆士兰大学毕业证成绩单原版一模一样
办理学位证(UQ文凭证书)昆士兰大学毕业证成绩单原版一模一样办理学位证(UQ文凭证书)昆士兰大学毕业证成绩单原版一模一样
办理学位证(UQ文凭证书)昆士兰大学毕业证成绩单原版一模一样
 
Try MyIntelliAccount Cloud Accounting Software As A Service Solution Risk Fre...
Try MyIntelliAccount Cloud Accounting Software As A Service Solution Risk Fre...Try MyIntelliAccount Cloud Accounting Software As A Service Solution Risk Fre...
Try MyIntelliAccount Cloud Accounting Software As A Service Solution Risk Fre...
 
Short Story: Unveiling the Reasoning Abilities of Large Language Models by Ke...
Short Story: Unveiling the Reasoning Abilities of Large Language Models by Ke...Short Story: Unveiling the Reasoning Abilities of Large Language Models by Ke...
Short Story: Unveiling the Reasoning Abilities of Large Language Models by Ke...
 
Project Based Learning (A.I).pptx detail explanation
Project Based Learning (A.I).pptx detail explanationProject Based Learning (A.I).pptx detail explanation
Project Based Learning (A.I).pptx detail explanation
 
Automate your Kamailio Test Calls - Kamailio World 2024
Automate your Kamailio Test Calls - Kamailio World 2024Automate your Kamailio Test Calls - Kamailio World 2024
Automate your Kamailio Test Calls - Kamailio World 2024
 
Salesforce Certified Field Service Consultant
Salesforce Certified Field Service ConsultantSalesforce Certified Field Service Consultant
Salesforce Certified Field Service Consultant
 
KnowAPIs-UnknownPerf-jaxMainz-2024 (1).pptx
KnowAPIs-UnknownPerf-jaxMainz-2024 (1).pptxKnowAPIs-UnknownPerf-jaxMainz-2024 (1).pptx
KnowAPIs-UnknownPerf-jaxMainz-2024 (1).pptx
 
BATTLEFIELD ORM: TIPS, TACTICS AND STRATEGIES FOR CONQUERING YOUR DATABASE
BATTLEFIELD ORM: TIPS, TACTICS AND STRATEGIES FOR CONQUERING YOUR DATABASEBATTLEFIELD ORM: TIPS, TACTICS AND STRATEGIES FOR CONQUERING YOUR DATABASE
BATTLEFIELD ORM: TIPS, TACTICS AND STRATEGIES FOR CONQUERING YOUR DATABASE
 
Asset Management Software - Infographic
Asset Management Software - InfographicAsset Management Software - Infographic
Asset Management Software - Infographic
 
why an Opensea Clone Script might be your perfect match.pdf
why an Opensea Clone Script might be your perfect match.pdfwhy an Opensea Clone Script might be your perfect match.pdf
why an Opensea Clone Script might be your perfect match.pdf
 
Building Real-Time Data Pipelines: Stream & Batch Processing workshop Slide
Building Real-Time Data Pipelines: Stream & Batch Processing workshop SlideBuilding Real-Time Data Pipelines: Stream & Batch Processing workshop Slide
Building Real-Time Data Pipelines: Stream & Batch Processing workshop Slide
 

Lec05

  • 1. LECTURE SCHEDULE 5 Operating System – Some Fundamental DOS Commands,Rules for naming files in DOS and Types of files Operating System Operating system is a set of software that controls and manages hardware and basic system operations for a computer. The operating system loads programs into the computer's memory, runs these programs, and manages peripherals like disks and printers. Example: Disk Operating System (DOS) Windows LINUX Mac
  • 2. UNIX Disk Operating System (DOS) • In the 1980s or early 1990s, the operating system that shipped with most PCs was a version of the Disk Operating System (DOS) created by Microsoft: MS-DOS. • MS-DOS is a disk-based, single-user, single-task and character based user interface (CUI) operating system. Goto MSDOS from Windows Operating System: Click Start Button  Choose Program  Choose Accessories  Click Command Prompt as shown below: Or Click Start Button  Choose Run  Type cmd in the Open tab as shown below:
  • 3. Command Prompt will get displayed as shown: The DOS commands can be entered in the command prompt and executed.
  • 4. Some Examples of DOS commands DIR Command The dir command allows you to see the available files in the current and/or parent directories. Examples: 1. DIR Lists all files and directories in the directory that you are currently in. 2. dir /w If information on the date / time and other information on the files are not needed, then this command can be used to list just the files and directories going horizontally, taking as little as space needed.
  • 5. 3. dir /on List the files in alphabetical order by the names of the files. 4. dir /o-n List the files in reverse alphabetical order by the names of the files.
  • 6. FORMAT Command FORMAT command is used to erase all information of a diskette or fixed drive. 1. format a: Would erase all the contents off a disk. Commonly used on a diskette that has not been formatted or on a diskette you wish to erase. 2. format a: /q Quickly erases all the contents of a floppy diskette. Commonly used to quickly erase all information on the diskette. 3. format c: This would erase all the contents of C: hard disk drive. In other words, unless you wish to erase all your computer's information, this command should not be done unless you're planning to start over.
  • 7. COPY Command COPY command allows to copy one or more files to an alternate location. Examples: 1. copy *.* a: Copy all files in the current directory to the a disk drive. 2. copy file1.txt file2.txt Copy the contents of file1.txt to file2.txt 3. copy myfile1.txt+myfile2.txt Copy the contents in myfile2.txt and combines it with the contents in myfile1.txt. PATH Command Path is used to specify the location where MS-DOS looks when using a command. For example, when using the command "format", if the path is not specified to where the command is you will receive bad command or file name.
  • 8. Example: LABEL Command Label is used to view or change the label of the computer disk drives. Example: label a: mydisk This would label the disk currently in the drive to "mydisk", but will not label if your disk is write protected. VOL Command VOL command displays the volume information about the designated drive.
  • 9. MD (Make Directory) Command MD command allows to create directories in MS-DOS. Examples: 1. md test Creates the "test" directory in the directory in the currently directory. 2. md c:test Creates the "test" directory in the c: directory. CD (Change Directory) Command CD (Change Directory) is a command used to switch directories in MS-DOS. Examples: 1. cd Goes to the highest level, the root of the drive.
  • 10. 2. cd.. Goes back one directory.
  • 11. 3. cd Typing cd alone will print the working directory. DEL Command DEL command is used to delete files from the computer. Deleting files from MS-DOS does not send files to the recycle bin. Examples: 1. del test.tmp Deletes the test.tmp in the directory that you currently are in, if the file exists. 2. del c:windowstest.tmp Delete the c:windowstest.tmp in the windows directory if it exists. Rules for naming files in DOS 1. The combination of the following characters can be used for writing names of directories and files:
  • 12. Alphabets A to Z (both capital and small). Digits 0 to 9. Special characters like spaces ' ! A 0 $ο & # @ % '-{}[]+-=-- . 2. Some special characters which cannot be used are? / : 1< > II *. 3. There are some words specifically reserved for special files and are not allowed if used singly. They are CON, COM1, COM2, COM3. COM4, AVX, LPT1, LPT2, LPT3, PRN, NUL. These words can be used in combination such as ASCon, deltacom1, Panamavx. etc. 4. Files with extension names like .EXE, .COM and .BAT are called executable files and are given a special status by DOS. 5. Dot (.) is allowed only once. Types of files in DOS DOS supports a wide variety of files. The type of the file can be identified with the extension of the file in the filename. The three letters following the name of the file is called as the extension of the file. Examples: .bak Used by programs and users to make a copy of an existing file for safety and/or archive purposes. .bas A basic computer-language program file. .bat This is used for a batch file. Such a file is a series of commands in mostly plain english which perform an operation in DOS automatically. They come with some programs and may also be written by a user to make shortcuts or perform operations like sorting or backups.
  • 13. .bin A binary file. .c A file of programming language in the C format. .dat Used to hold information about a particular aspect of a program or about a particular operation. The latter may update a .dat file to reflect recent changes. Other operations in the program may then view this file and other .dat files while determining a course of action. .db or .dbf These are used by data base programs to hold the users' data information. Other programs may use them to hold information used by the application itself for such things as printer specifications regarding printer selection by the user. .dir Used to house a directory list, especially for communications programs. .exe An executable file. References 1. http://www.chebucto.ns.ca/~ak621/DOS/DOS-Ext.html 2. http://www.computerhope.com/msdos.htm