SlideShare a Scribd company logo
IT ESSENTIALS
Command line in Windows
Section #2
COMMAND LINE
• The command line is a text interface for your computer. It's a program that takes in
commands, which it passes on to the computer's operating system to run. From the
command line, you can navigate through files and folders on your computer, just as
you would with Windows Explorer on Windows or Finder on Mac OS.
DOS COMMANDS
• Command Prompt, known in short as cmd or cmd.exe and sometimes called the
command line, or DOS commands, is a program or interface that allows you to
perform many tasks in the Windows operating system, in the past (before graphical
interfaces) was dealing With the operating system, it is only through the command
prompt known as the black screen, and despite the great development in operating
systems and the full availability of all device and operating system resources
through graphic windows, the cmd command line is indispensable to perform some
tasks.
CHANGE PARTITION
• If you want to change the current Partition, all you have to do is type the letter for
the partition followed by the Colon:, then press the Enter button, for example the
command prompt window now points to Partition C:, if you want to deal with
Partition D, it will You type the following command D: and press Enter, and you'll
notice that the path to partition D has changed.
DIR
• It is an abbreviation of the term Directory or what means the folder, and this
command is used to display the contents of the current folder referred to by the
command prompt, and is used to display subfolders and files within the current
folder, and you can try the command by typing the dir command and then pressing
the Enter button, and you will notice that the command prompt The command will
display the contents of the current working folder, each line representing a file or
subfolder, you will notice that the word <DIR> is written next to the subfolders and
nothing is written next to the files in this column, in addition to some data for each
file from the date it was created, its name and its space if was a file.
CD
• It is an abbreviation of the term Change Directory, and this command can be written
chdir, and this command is used to change the current directory, and this command
is always written followed by the path you want to change relative to the current
directory or the entire directory path.
CD
• It is used to change the current path to the current partition. If you want to change
the current path to the C partition: all you have to do is type the  cd command and
then press Enter, and you can type the back dash directly after the  cd command or
you can leave a space between the command and the back dash, for example cd
CD ..
• This command is used to take a step back in the path. When you type
cd .. the path will point to C:UsersUsername, and when you repeat
the command it will become C:Users until you reach the partition.
CLS
• If you are applying the commands that we have already addressed, of course you
will wonder about a way to clean the command editor screen, and this is the function
of the cls command, which is an abbreviation of the term Clear Screen, and its
function is simply to clean the command editor window from the previous
commands.
MKDIR
• It is an abbreviation of the term Make Directory, and it can be written in md, its
function is to create a new folder. If you want to create a new folder in partition D,
you will use what you have learned so far to specify the path of the current working
folder, then write the command mkdir followed by the name of the new folder, if the
name of the folder It contains a space, you can type it in quotes, for example mkdir
"new folder", and of course the name of the new folder must not exist in the current
working folder.
RMDIR
• It is an abbreviation of the term Remove Directory, and it can be written rd, its
function is to delete any folder, and the rmdir command is written followed by the
name of the folder you want to delete, and in order to delete any folder, you must
first make sure that the folder is empty, that is, it does not contain any files or
subfolders, As with the previous commands, if the folder name contains a space, the
folder name must be written in quotation marks, and the folder must be inside the
path of the current working folder. For example, if you want to remove the folder
that we created in the previous step, you will use the following command rmdir "new
folder".
REN
• It is an abbreviation of the term Rename, and it can also be written rename, and
this command is used to rename folders or files, and writes the command ren
followed by the name or path of the folder you want to rename and then a space and
then writes the new name, and the following example shows how to use it
DEL
• It is an abbreviation of the term Delete, and it can be written erase, and is used to
delete files, as we learned that the RD or RMDIR command is used to delete folders,
the del command is used to delete files, and this is done by writing the command
followed by the name of the file in the path of the working folder, or the full path of
any a file
COPY
• It is used to copy one or more files from one folder to another. For example, suppose
we have a file called a.txt located in the desktop folder and we want to copy this file
to partition D and rename it to b.txt, to complete this we write the following
command
OPEN
EXIT
• This command is used to close the Command Prompt
window
THANK YOU

More Related Content

Similar to Command line in Windows.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
RohitRoshanBengROHIT
 
DOS commands
DOS commandsDOS commands
DOS commands
preetikapri1
 
LinuxLabBasics.ppt
LinuxLabBasics.pptLinuxLabBasics.ppt
LinuxLabBasics.ppt
CharuJain396881
 
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
zatax
 
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
Rai University
 
MS Dos command
MS Dos commandMS Dos command
MS Dos command
Hardik Patel
 
11 unix osx_commands
11 unix osx_commands11 unix osx_commands
11 unix osx_commands
Macinfosoft
 
Internal commands of dos
Internal commands of dosInternal commands of dos
Internal commands of dos
Nargiskhan786
 
Basic dos-commands
Basic dos-commandsBasic dos-commands
Basic dos-commands
parag dhok
 
Msdos crash course
Msdos crash courseMsdos crash course
Msdos crash course
Devinder Prasad
 
CMD Command prompts
CMD Command promptsCMD Command prompts
CMD Command prompts
Ahmed Hesham
 
Lec05
Lec05Lec05
LEARNING MS DOS BASIC
LEARNING MS DOS BASICLEARNING MS DOS BASIC
LEARNING MS DOS BASIC
maccarthy104
 
Dos commands new
Dos commands new Dos commands new
Dos commands new
suraj pandey
 
Part 2
Part 2Part 2
Part 2
Ahmed Hesham
 
Dos%20commands(1)
Dos%20commands(1)Dos%20commands(1)
Dos%20commands(1)
IDHAMUKI
 
p_ms-dos-new.ppt
p_ms-dos-new.pptp_ms-dos-new.ppt
p_ms-dos-new.ppt
PoojaTripathi92
 
Dos_Commands.ppt
Dos_Commands.pptDos_Commands.ppt
Dos_Commands.ppt
Osmania University
 
PPT4-Windows CLI.pptx
PPT4-Windows CLI.pptxPPT4-Windows CLI.pptx
PPT4-Windows CLI.pptx
AbdulwahabAlosda
 
Dos commad. by ammar nawab ppt
Dos commad. by ammar nawab pptDos commad. by ammar nawab ppt
Dos commad. by ammar nawab ppt
Ammar_n
 

Similar to Command line in Windows.pptx (20)

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
 
DOS commands
DOS commandsDOS commands
DOS commands
 
LinuxLabBasics.ppt
LinuxLabBasics.pptLinuxLabBasics.ppt
LinuxLabBasics.ppt
 
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
 
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
 
MS Dos command
MS Dos commandMS Dos command
MS Dos command
 
11 unix osx_commands
11 unix osx_commands11 unix osx_commands
11 unix osx_commands
 
Internal commands of dos
Internal commands of dosInternal commands of dos
Internal commands of dos
 
Basic dos-commands
Basic dos-commandsBasic dos-commands
Basic dos-commands
 
Msdos crash course
Msdos crash courseMsdos crash course
Msdos crash course
 
CMD Command prompts
CMD Command promptsCMD Command prompts
CMD Command prompts
 
Lec05
Lec05Lec05
Lec05
 
LEARNING MS DOS BASIC
LEARNING MS DOS BASICLEARNING MS DOS BASIC
LEARNING MS DOS BASIC
 
Dos commands new
Dos commands new Dos commands new
Dos commands new
 
Part 2
Part 2Part 2
Part 2
 
Dos%20commands(1)
Dos%20commands(1)Dos%20commands(1)
Dos%20commands(1)
 
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
 
PPT4-Windows CLI.pptx
PPT4-Windows CLI.pptxPPT4-Windows CLI.pptx
PPT4-Windows CLI.pptx
 
Dos commad. by ammar nawab ppt
Dos commad. by ammar nawab pptDos commad. by ammar nawab ppt
Dos commad. by ammar nawab ppt
 

More from ssuser536c36

Section #4 Computer ports.pdf
Section #4 Computer ports.pdfSection #4 Computer ports.pdf
Section #4 Computer ports.pdf
ssuser536c36
 
Windows 10 Module 1.pdf
Windows 10 Module 1.pdfWindows 10 Module 1.pdf
Windows 10 Module 1.pdf
ssuser536c36
 
Windows 10 Module 2.pdf
Windows 10 Module 2.pdfWindows 10 Module 2.pdf
Windows 10 Module 2.pdf
ssuser536c36
 
Computer Intro Lab 1.pptx.pdf
Computer Intro Lab 1.pptx.pdfComputer Intro Lab 1.pptx.pdf
Computer Intro Lab 1.pptx.pdf
ssuser536c36
 
Intro IT.pdf
Intro IT.pdfIntro IT.pdf
Intro IT.pdf
ssuser536c36
 
سي بالعربي.pdf
سي بالعربي.pdfسي بالعربي.pdf
سي بالعربي.pdf
ssuser536c36
 
DLD1.pdf
DLD1.pdfDLD1.pdf
DLD1.pdf
ssuser536c36
 

More from ssuser536c36 (7)

Section #4 Computer ports.pdf
Section #4 Computer ports.pdfSection #4 Computer ports.pdf
Section #4 Computer ports.pdf
 
Windows 10 Module 1.pdf
Windows 10 Module 1.pdfWindows 10 Module 1.pdf
Windows 10 Module 1.pdf
 
Windows 10 Module 2.pdf
Windows 10 Module 2.pdfWindows 10 Module 2.pdf
Windows 10 Module 2.pdf
 
Computer Intro Lab 1.pptx.pdf
Computer Intro Lab 1.pptx.pdfComputer Intro Lab 1.pptx.pdf
Computer Intro Lab 1.pptx.pdf
 
Intro IT.pdf
Intro IT.pdfIntro IT.pdf
Intro IT.pdf
 
سي بالعربي.pdf
سي بالعربي.pdfسي بالعربي.pdf
سي بالعربي.pdf
 
DLD1.pdf
DLD1.pdfDLD1.pdf
DLD1.pdf
 

Recently uploaded

Basic Industrial Engineering terms for apparel
Basic Industrial Engineering terms for apparelBasic Industrial Engineering terms for apparel
Basic Industrial Engineering terms for apparel
top1002
 
Immunizing Image Classifiers Against Localized Adversary Attacks
Immunizing Image Classifiers Against Localized Adversary AttacksImmunizing Image Classifiers Against Localized Adversary Attacks
Immunizing Image Classifiers Against Localized Adversary Attacks
gerogepatton
 
Final project report on grocery store management system..pdf
Final project report on grocery store management system..pdfFinal project report on grocery store management system..pdf
Final project report on grocery store management system..pdf
Kamal Acharya
 
Design and Analysis of Algorithms-DP,Backtracking,Graphs,B&B
Design and Analysis of Algorithms-DP,Backtracking,Graphs,B&BDesign and Analysis of Algorithms-DP,Backtracking,Graphs,B&B
Design and Analysis of Algorithms-DP,Backtracking,Graphs,B&B
Sreedhar Chowdam
 
Forklift Classes Overview by Intella Parts
Forklift Classes Overview by Intella PartsForklift Classes Overview by Intella Parts
Forklift Classes Overview by Intella Parts
Intella Parts
 
Investor-Presentation-Q1FY2024 investor presentation document.pptx
Investor-Presentation-Q1FY2024 investor presentation document.pptxInvestor-Presentation-Q1FY2024 investor presentation document.pptx
Investor-Presentation-Q1FY2024 investor presentation document.pptx
AmarGB2
 
一比一原版(SFU毕业证)西蒙菲莎大学毕业证成绩单如何办理
一比一原版(SFU毕业证)西蒙菲莎大学毕业证成绩单如何办理一比一原版(SFU毕业证)西蒙菲莎大学毕业证成绩单如何办理
一比一原版(SFU毕业证)西蒙菲莎大学毕业证成绩单如何办理
bakpo1
 
DESIGN AND ANALYSIS OF A CAR SHOWROOM USING E TABS
DESIGN AND ANALYSIS OF A CAR SHOWROOM USING E TABSDESIGN AND ANALYSIS OF A CAR SHOWROOM USING E TABS
DESIGN AND ANALYSIS OF A CAR SHOWROOM USING E TABS
itech2017
 
Sachpazis:Terzaghi Bearing Capacity Estimation in simple terms with Calculati...
Sachpazis:Terzaghi Bearing Capacity Estimation in simple terms with Calculati...Sachpazis:Terzaghi Bearing Capacity Estimation in simple terms with Calculati...
Sachpazis:Terzaghi Bearing Capacity Estimation in simple terms with Calculati...
Dr.Costas Sachpazis
 
一比一原版(UofT毕业证)多伦多大学毕业证成绩单如何办理
一比一原版(UofT毕业证)多伦多大学毕业证成绩单如何办理一比一原版(UofT毕业证)多伦多大学毕业证成绩单如何办理
一比一原版(UofT毕业证)多伦多大学毕业证成绩单如何办理
ydteq
 
Planning Of Procurement o different goods and services
Planning Of Procurement o different goods and servicesPlanning Of Procurement o different goods and services
Planning Of Procurement o different goods and services
JoytuBarua2
 
Student information management system project report ii.pdf
Student information management system project report ii.pdfStudent information management system project report ii.pdf
Student information management system project report ii.pdf
Kamal Acharya
 
Unbalanced Three Phase Systems and circuits.pptx
Unbalanced Three Phase Systems and circuits.pptxUnbalanced Three Phase Systems and circuits.pptx
Unbalanced Three Phase Systems and circuits.pptx
ChristineTorrepenida1
 
Water billing management system project report.pdf
Water billing management system project report.pdfWater billing management system project report.pdf
Water billing management system project report.pdf
Kamal Acharya
 
Cosmetic shop management system project report.pdf
Cosmetic shop management system project report.pdfCosmetic shop management system project report.pdf
Cosmetic shop management system project report.pdf
Kamal Acharya
 
Technical Drawings introduction to drawing of prisms
Technical Drawings introduction to drawing of prismsTechnical Drawings introduction to drawing of prisms
Technical Drawings introduction to drawing of prisms
heavyhaig
 
Understanding Inductive Bias in Machine Learning
Understanding Inductive Bias in Machine LearningUnderstanding Inductive Bias in Machine Learning
Understanding Inductive Bias in Machine Learning
SUTEJAS
 
DfMAy 2024 - key insights and contributions
DfMAy 2024 - key insights and contributionsDfMAy 2024 - key insights and contributions
DfMAy 2024 - key insights and contributions
gestioneergodomus
 
Building Electrical System Design & Installation
Building Electrical System Design & InstallationBuilding Electrical System Design & Installation
Building Electrical System Design & Installation
symbo111
 
CW RADAR, FMCW RADAR, FMCW ALTIMETER, AND THEIR PARAMETERS
CW RADAR, FMCW RADAR, FMCW ALTIMETER, AND THEIR PARAMETERSCW RADAR, FMCW RADAR, FMCW ALTIMETER, AND THEIR PARAMETERS
CW RADAR, FMCW RADAR, FMCW ALTIMETER, AND THEIR PARAMETERS
veerababupersonal22
 

Recently uploaded (20)

Basic Industrial Engineering terms for apparel
Basic Industrial Engineering terms for apparelBasic Industrial Engineering terms for apparel
Basic Industrial Engineering terms for apparel
 
Immunizing Image Classifiers Against Localized Adversary Attacks
Immunizing Image Classifiers Against Localized Adversary AttacksImmunizing Image Classifiers Against Localized Adversary Attacks
Immunizing Image Classifiers Against Localized Adversary Attacks
 
Final project report on grocery store management system..pdf
Final project report on grocery store management system..pdfFinal project report on grocery store management system..pdf
Final project report on grocery store management system..pdf
 
Design and Analysis of Algorithms-DP,Backtracking,Graphs,B&B
Design and Analysis of Algorithms-DP,Backtracking,Graphs,B&BDesign and Analysis of Algorithms-DP,Backtracking,Graphs,B&B
Design and Analysis of Algorithms-DP,Backtracking,Graphs,B&B
 
Forklift Classes Overview by Intella Parts
Forklift Classes Overview by Intella PartsForklift Classes Overview by Intella Parts
Forklift Classes Overview by Intella Parts
 
Investor-Presentation-Q1FY2024 investor presentation document.pptx
Investor-Presentation-Q1FY2024 investor presentation document.pptxInvestor-Presentation-Q1FY2024 investor presentation document.pptx
Investor-Presentation-Q1FY2024 investor presentation document.pptx
 
一比一原版(SFU毕业证)西蒙菲莎大学毕业证成绩单如何办理
一比一原版(SFU毕业证)西蒙菲莎大学毕业证成绩单如何办理一比一原版(SFU毕业证)西蒙菲莎大学毕业证成绩单如何办理
一比一原版(SFU毕业证)西蒙菲莎大学毕业证成绩单如何办理
 
DESIGN AND ANALYSIS OF A CAR SHOWROOM USING E TABS
DESIGN AND ANALYSIS OF A CAR SHOWROOM USING E TABSDESIGN AND ANALYSIS OF A CAR SHOWROOM USING E TABS
DESIGN AND ANALYSIS OF A CAR SHOWROOM USING E TABS
 
Sachpazis:Terzaghi Bearing Capacity Estimation in simple terms with Calculati...
Sachpazis:Terzaghi Bearing Capacity Estimation in simple terms with Calculati...Sachpazis:Terzaghi Bearing Capacity Estimation in simple terms with Calculati...
Sachpazis:Terzaghi Bearing Capacity Estimation in simple terms with Calculati...
 
一比一原版(UofT毕业证)多伦多大学毕业证成绩单如何办理
一比一原版(UofT毕业证)多伦多大学毕业证成绩单如何办理一比一原版(UofT毕业证)多伦多大学毕业证成绩单如何办理
一比一原版(UofT毕业证)多伦多大学毕业证成绩单如何办理
 
Planning Of Procurement o different goods and services
Planning Of Procurement o different goods and servicesPlanning Of Procurement o different goods and services
Planning Of Procurement o different goods and services
 
Student information management system project report ii.pdf
Student information management system project report ii.pdfStudent information management system project report ii.pdf
Student information management system project report ii.pdf
 
Unbalanced Three Phase Systems and circuits.pptx
Unbalanced Three Phase Systems and circuits.pptxUnbalanced Three Phase Systems and circuits.pptx
Unbalanced Three Phase Systems and circuits.pptx
 
Water billing management system project report.pdf
Water billing management system project report.pdfWater billing management system project report.pdf
Water billing management system project report.pdf
 
Cosmetic shop management system project report.pdf
Cosmetic shop management system project report.pdfCosmetic shop management system project report.pdf
Cosmetic shop management system project report.pdf
 
Technical Drawings introduction to drawing of prisms
Technical Drawings introduction to drawing of prismsTechnical Drawings introduction to drawing of prisms
Technical Drawings introduction to drawing of prisms
 
Understanding Inductive Bias in Machine Learning
Understanding Inductive Bias in Machine LearningUnderstanding Inductive Bias in Machine Learning
Understanding Inductive Bias in Machine Learning
 
DfMAy 2024 - key insights and contributions
DfMAy 2024 - key insights and contributionsDfMAy 2024 - key insights and contributions
DfMAy 2024 - key insights and contributions
 
Building Electrical System Design & Installation
Building Electrical System Design & InstallationBuilding Electrical System Design & Installation
Building Electrical System Design & Installation
 
CW RADAR, FMCW RADAR, FMCW ALTIMETER, AND THEIR PARAMETERS
CW RADAR, FMCW RADAR, FMCW ALTIMETER, AND THEIR PARAMETERSCW RADAR, FMCW RADAR, FMCW ALTIMETER, AND THEIR PARAMETERS
CW RADAR, FMCW RADAR, FMCW ALTIMETER, AND THEIR PARAMETERS
 

Command line in Windows.pptx

  • 1. IT ESSENTIALS Command line in Windows Section #2
  • 2. COMMAND LINE • The command line is a text interface for your computer. It's a program that takes in commands, which it passes on to the computer's operating system to run. From the command line, you can navigate through files and folders on your computer, just as you would with Windows Explorer on Windows or Finder on Mac OS.
  • 3. DOS COMMANDS • Command Prompt, known in short as cmd or cmd.exe and sometimes called the command line, or DOS commands, is a program or interface that allows you to perform many tasks in the Windows operating system, in the past (before graphical interfaces) was dealing With the operating system, it is only through the command prompt known as the black screen, and despite the great development in operating systems and the full availability of all device and operating system resources through graphic windows, the cmd command line is indispensable to perform some tasks.
  • 4. CHANGE PARTITION • If you want to change the current Partition, all you have to do is type the letter for the partition followed by the Colon:, then press the Enter button, for example the command prompt window now points to Partition C:, if you want to deal with Partition D, it will You type the following command D: and press Enter, and you'll notice that the path to partition D has changed.
  • 5. DIR • It is an abbreviation of the term Directory or what means the folder, and this command is used to display the contents of the current folder referred to by the command prompt, and is used to display subfolders and files within the current folder, and you can try the command by typing the dir command and then pressing the Enter button, and you will notice that the command prompt The command will display the contents of the current working folder, each line representing a file or subfolder, you will notice that the word <DIR> is written next to the subfolders and nothing is written next to the files in this column, in addition to some data for each file from the date it was created, its name and its space if was a file.
  • 6. CD • It is an abbreviation of the term Change Directory, and this command can be written chdir, and this command is used to change the current directory, and this command is always written followed by the path you want to change relative to the current directory or the entire directory path.
  • 7. CD • It is used to change the current path to the current partition. If you want to change the current path to the C partition: all you have to do is type the cd command and then press Enter, and you can type the back dash directly after the cd command or you can leave a space between the command and the back dash, for example cd
  • 8. CD .. • This command is used to take a step back in the path. When you type cd .. the path will point to C:UsersUsername, and when you repeat the command it will become C:Users until you reach the partition.
  • 9. CLS • If you are applying the commands that we have already addressed, of course you will wonder about a way to clean the command editor screen, and this is the function of the cls command, which is an abbreviation of the term Clear Screen, and its function is simply to clean the command editor window from the previous commands.
  • 10. MKDIR • It is an abbreviation of the term Make Directory, and it can be written in md, its function is to create a new folder. If you want to create a new folder in partition D, you will use what you have learned so far to specify the path of the current working folder, then write the command mkdir followed by the name of the new folder, if the name of the folder It contains a space, you can type it in quotes, for example mkdir "new folder", and of course the name of the new folder must not exist in the current working folder.
  • 11. RMDIR • It is an abbreviation of the term Remove Directory, and it can be written rd, its function is to delete any folder, and the rmdir command is written followed by the name of the folder you want to delete, and in order to delete any folder, you must first make sure that the folder is empty, that is, it does not contain any files or subfolders, As with the previous commands, if the folder name contains a space, the folder name must be written in quotation marks, and the folder must be inside the path of the current working folder. For example, if you want to remove the folder that we created in the previous step, you will use the following command rmdir "new folder".
  • 12. REN • It is an abbreviation of the term Rename, and it can also be written rename, and this command is used to rename folders or files, and writes the command ren followed by the name or path of the folder you want to rename and then a space and then writes the new name, and the following example shows how to use it
  • 13. DEL • It is an abbreviation of the term Delete, and it can be written erase, and is used to delete files, as we learned that the RD or RMDIR command is used to delete folders, the del command is used to delete files, and this is done by writing the command followed by the name of the file in the path of the working folder, or the full path of any a file
  • 14. COPY • It is used to copy one or more files from one folder to another. For example, suppose we have a file called a.txt located in the desktop folder and we want to copy this file to partition D and rename it to b.txt, to complete this we write the following command
  • 15. OPEN
  • 16. EXIT • This command is used to close the Command Prompt window