2. OBJECTIVES
1.TO UNDERSTAND WHAT IS
CMD OR COMMAND PROMT
2.TO LOCATE THE CMD CODES
IN AN OPERATING SYSTEM
3.TO USE CMD CODES FOR
TROUBLESHOOTING
COMPUTER SYSTEM
4.TO APPRECIATE THE USE OF
CMD CODES
3. • Command Prompt is officially called
Windows Command Processor, but it is also
sometimes referred to as the command
shell or cmd prompt, or even by its
filename, cmd.exe.
• Command Prompt is sometimes
incorrectly referred to as "the DOS
prompt" or as MS-DOS itself. Command
Prompt is aWindows program that
emulates many of the command line
abilities available in MS-DOS, but it's not
MS-DOS.
WHATISCOMMAND
PROMPT(CMD)?
Command Prompt is a command
line interpreter application available
in mostWindows operating
systems. It's used to execute
entered commands. Most of those
commands automate tasks via
scripts and batch files, perform
advanced administrative functions,
and troubleshoot or solve certain
kinds ofWindows issues.
page 3
4. WAYSTOLOCATE
CMD
THERE ARE MANY WAYS TO LOCATE CMD APP
IN AN OPERATING SYSTEM
RUN.exe
We can use run exe to
open cmd app
Simple Search
We can simply search
the cmd in the
windows search bar
Run as admin
Every time we open
cmd app, as a
technician it is
recommended to
open it as an
administrator
page 4
5. CMDCODES
EVERY CMD CODES IS UNIQUE,
COMBINATION OF CODES IS NEEDED TO
ACCOMPLISH A CERTAIN TASK IN CMD
PROMPT APPLICATION
dir
To open a certain
directory or folder
you need to type: dir
cd.. Or cd/
To exit on the
current directory
Copy
To copy a certain
file from one
directory to the
other directory
del
To delete a file
page 5
6. LETSPRACTICE
CMD
REMINDERS
• Be careful in using cmd
• Wrong use of the commands
can make your computer
damage
• File could be corrupted
• You can accidentally delete files
and folders
page 6
7. LET’SPERFORM
THEFOLLOWING
TASK
PERFORMING THE CMD TASK
page 7
Open cmd.exe
Open folder using dir
Change folder using
cd.. Or cd/
Copy files from one
folder to the other
Delete the copied
files