SlideShare a Scribd company logo
1 of 17
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).pdfRohitRoshanBengROHIT
 
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
 
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
 
11 unix osx_commands
11 unix osx_commands11 unix osx_commands
11 unix osx_commandsMacinfosoft
 
Internal commands of dos
Internal commands of dosInternal commands of dos
Internal commands of dosNargiskhan786
 
Basic dos-commands
Basic dos-commandsBasic dos-commands
Basic dos-commandsparag dhok
 
CMD Command prompts
CMD Command promptsCMD Command prompts
CMD Command promptsAhmed Hesham
 
LEARNING MS DOS BASIC
LEARNING MS DOS BASICLEARNING MS DOS BASIC
LEARNING MS DOS BASICmaccarthy104
 
Dos%20commands(1)
Dos%20commands(1)Dos%20commands(1)
Dos%20commands(1)IDHAMUKI
 
Dos commad. by ammar nawab ppt
Dos commad. by ammar nawab pptDos commad. by ammar nawab ppt
Dos commad. by ammar nawab pptAmmar_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
 
Lec05
Lec05Lec05
Lec05
 
CMD Command prompts
CMD Command promptsCMD Command prompts
CMD Command prompts
 
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.pdfssuser536c36
 
Windows 10 Module 1.pdf
Windows 10 Module 1.pdfWindows 10 Module 1.pdf
Windows 10 Module 1.pdfssuser536c36
 
Windows 10 Module 2.pdf
Windows 10 Module 2.pdfWindows 10 Module 2.pdf
Windows 10 Module 2.pdfssuser536c36
 
Computer Intro Lab 1.pptx.pdf
Computer Intro Lab 1.pptx.pdfComputer Intro Lab 1.pptx.pdf
Computer Intro Lab 1.pptx.pdfssuser536c36
 
سي بالعربي.pdf
سي بالعربي.pdfسي بالعربي.pdf
سي بالعربي.pdfssuser536c36
 

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

Thermal Engineering -unit - III & IV.ppt
Thermal Engineering -unit - III & IV.pptThermal Engineering -unit - III & IV.ppt
Thermal Engineering -unit - III & IV.pptDineshKumar4165
 
UNIT-IFLUID PROPERTIES & FLOW CHARACTERISTICS
UNIT-IFLUID PROPERTIES & FLOW CHARACTERISTICSUNIT-IFLUID PROPERTIES & FLOW CHARACTERISTICS
UNIT-IFLUID PROPERTIES & FLOW CHARACTERISTICSrknatarajan
 
Generative AI or GenAI technology based PPT
Generative AI or GenAI technology based PPTGenerative AI or GenAI technology based PPT
Generative AI or GenAI technology based PPTbhaskargani46
 
data_management_and _data_science_cheat_sheet.pdf
data_management_and _data_science_cheat_sheet.pdfdata_management_and _data_science_cheat_sheet.pdf
data_management_and _data_science_cheat_sheet.pdfJiananWang21
 
Coefficient of Thermal Expansion and their Importance.pptx
Coefficient of Thermal Expansion and their Importance.pptxCoefficient of Thermal Expansion and their Importance.pptx
Coefficient of Thermal Expansion and their Importance.pptxAsutosh Ranjan
 
Double rodded leveling 1 pdf activity 01
Double rodded leveling 1 pdf activity 01Double rodded leveling 1 pdf activity 01
Double rodded leveling 1 pdf activity 01KreezheaRecto
 
Thermal Engineering-R & A / C - unit - V
Thermal Engineering-R & A / C - unit - VThermal Engineering-R & A / C - unit - V
Thermal Engineering-R & A / C - unit - VDineshKumar4165
 
Call for Papers - International Journal of Intelligent Systems and Applicatio...
Call for Papers - International Journal of Intelligent Systems and Applicatio...Call for Papers - International Journal of Intelligent Systems and Applicatio...
Call for Papers - International Journal of Intelligent Systems and Applicatio...Christo Ananth
 
Vivazz, Mieres Social Housing Design Spain
Vivazz, Mieres Social Housing Design SpainVivazz, Mieres Social Housing Design Spain
Vivazz, Mieres Social Housing Design Spaintimesproduction05
 
University management System project report..pdf
University management System project report..pdfUniversity management System project report..pdf
University management System project report..pdfKamal Acharya
 
FULL ENJOY Call Girls In Mahipalpur Delhi Contact Us 8377877756
FULL ENJOY Call Girls In Mahipalpur Delhi Contact Us 8377877756FULL ENJOY Call Girls In Mahipalpur Delhi Contact Us 8377877756
FULL ENJOY Call Girls In Mahipalpur Delhi Contact Us 8377877756dollysharma2066
 
Java Programming :Event Handling(Types of Events)
Java Programming :Event Handling(Types of Events)Java Programming :Event Handling(Types of Events)
Java Programming :Event Handling(Types of Events)simmis5
 
The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...
The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...
The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...ranjana rawat
 
The Most Attractive Pune Call Girls Manchar 8250192130 Will You Miss This Cha...
The Most Attractive Pune Call Girls Manchar 8250192130 Will You Miss This Cha...The Most Attractive Pune Call Girls Manchar 8250192130 Will You Miss This Cha...
The Most Attractive Pune Call Girls Manchar 8250192130 Will You Miss This Cha...ranjana rawat
 
Call for Papers - Educational Administration: Theory and Practice, E-ISSN: 21...
Call for Papers - Educational Administration: Theory and Practice, E-ISSN: 21...Call for Papers - Educational Administration: Theory and Practice, E-ISSN: 21...
Call for Papers - Educational Administration: Theory and Practice, E-ISSN: 21...Christo Ananth
 
UNIT-II FMM-Flow Through Circular Conduits
UNIT-II FMM-Flow Through Circular ConduitsUNIT-II FMM-Flow Through Circular Conduits
UNIT-II FMM-Flow Through Circular Conduitsrknatarajan
 

Recently uploaded (20)

(INDIRA) Call Girl Bhosari Call Now 8617697112 Bhosari Escorts 24x7
(INDIRA) Call Girl Bhosari Call Now 8617697112 Bhosari Escorts 24x7(INDIRA) Call Girl Bhosari Call Now 8617697112 Bhosari Escorts 24x7
(INDIRA) Call Girl Bhosari Call Now 8617697112 Bhosari Escorts 24x7
 
Thermal Engineering -unit - III & IV.ppt
Thermal Engineering -unit - III & IV.pptThermal Engineering -unit - III & IV.ppt
Thermal Engineering -unit - III & IV.ppt
 
UNIT-IFLUID PROPERTIES & FLOW CHARACTERISTICS
UNIT-IFLUID PROPERTIES & FLOW CHARACTERISTICSUNIT-IFLUID PROPERTIES & FLOW CHARACTERISTICS
UNIT-IFLUID PROPERTIES & FLOW CHARACTERISTICS
 
Generative AI or GenAI technology based PPT
Generative AI or GenAI technology based PPTGenerative AI or GenAI technology based PPT
Generative AI or GenAI technology based PPT
 
data_management_and _data_science_cheat_sheet.pdf
data_management_and _data_science_cheat_sheet.pdfdata_management_and _data_science_cheat_sheet.pdf
data_management_and _data_science_cheat_sheet.pdf
 
Coefficient of Thermal Expansion and their Importance.pptx
Coefficient of Thermal Expansion and their Importance.pptxCoefficient of Thermal Expansion and their Importance.pptx
Coefficient of Thermal Expansion and their Importance.pptx
 
Double rodded leveling 1 pdf activity 01
Double rodded leveling 1 pdf activity 01Double rodded leveling 1 pdf activity 01
Double rodded leveling 1 pdf activity 01
 
Thermal Engineering-R & A / C - unit - V
Thermal Engineering-R & A / C - unit - VThermal Engineering-R & A / C - unit - V
Thermal Engineering-R & A / C - unit - V
 
Call for Papers - International Journal of Intelligent Systems and Applicatio...
Call for Papers - International Journal of Intelligent Systems and Applicatio...Call for Papers - International Journal of Intelligent Systems and Applicatio...
Call for Papers - International Journal of Intelligent Systems and Applicatio...
 
Vivazz, Mieres Social Housing Design Spain
Vivazz, Mieres Social Housing Design SpainVivazz, Mieres Social Housing Design Spain
Vivazz, Mieres Social Housing Design Spain
 
Call Girls in Ramesh Nagar Delhi 💯 Call Us 🔝9953056974 🔝 Escort Service
Call Girls in Ramesh Nagar Delhi 💯 Call Us 🔝9953056974 🔝 Escort ServiceCall Girls in Ramesh Nagar Delhi 💯 Call Us 🔝9953056974 🔝 Escort Service
Call Girls in Ramesh Nagar Delhi 💯 Call Us 🔝9953056974 🔝 Escort Service
 
University management System project report..pdf
University management System project report..pdfUniversity management System project report..pdf
University management System project report..pdf
 
FULL ENJOY Call Girls In Mahipalpur Delhi Contact Us 8377877756
FULL ENJOY Call Girls In Mahipalpur Delhi Contact Us 8377877756FULL ENJOY Call Girls In Mahipalpur Delhi Contact Us 8377877756
FULL ENJOY Call Girls In Mahipalpur Delhi Contact Us 8377877756
 
Java Programming :Event Handling(Types of Events)
Java Programming :Event Handling(Types of Events)Java Programming :Event Handling(Types of Events)
Java Programming :Event Handling(Types of Events)
 
The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...
The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...
The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...
 
The Most Attractive Pune Call Girls Manchar 8250192130 Will You Miss This Cha...
The Most Attractive Pune Call Girls Manchar 8250192130 Will You Miss This Cha...The Most Attractive Pune Call Girls Manchar 8250192130 Will You Miss This Cha...
The Most Attractive Pune Call Girls Manchar 8250192130 Will You Miss This Cha...
 
Call for Papers - Educational Administration: Theory and Practice, E-ISSN: 21...
Call for Papers - Educational Administration: Theory and Practice, E-ISSN: 21...Call for Papers - Educational Administration: Theory and Practice, E-ISSN: 21...
Call for Papers - Educational Administration: Theory and Practice, E-ISSN: 21...
 
UNIT-II FMM-Flow Through Circular Conduits
UNIT-II FMM-Flow Through Circular ConduitsUNIT-II FMM-Flow Through Circular Conduits
UNIT-II FMM-Flow Through Circular Conduits
 
(INDIRA) Call Girl Meerut Call Now 8617697112 Meerut Escorts 24x7
(INDIRA) Call Girl Meerut Call Now 8617697112 Meerut Escorts 24x7(INDIRA) Call Girl Meerut Call Now 8617697112 Meerut Escorts 24x7
(INDIRA) Call Girl Meerut Call Now 8617697112 Meerut Escorts 24x7
 
Call Now ≽ 9953056974 ≼🔝 Call Girls In New Ashok Nagar ≼🔝 Delhi door step de...
Call Now ≽ 9953056974 ≼🔝 Call Girls In New Ashok Nagar  ≼🔝 Delhi door step de...Call Now ≽ 9953056974 ≼🔝 Call Girls In New Ashok Nagar  ≼🔝 Delhi door step de...
Call Now ≽ 9953056974 ≼🔝 Call Girls In New Ashok Nagar ≼🔝 Delhi door step de...
 

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