0% found this document useful (0 votes)
9 views2 pages

CMD Note

Uploaded by

kadiatoumuj
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
9 views2 pages

CMD Note

Uploaded by

kadiatoumuj
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
You are on page 1/ 2

cd ---------------------> change directory

cd .. --------------------> takes you back one step at a time

cd .. / .. ----------------> takes you back two steps at a time

cd one name / another name ----------------> takes you to the second name as
destination

--------------------------------------------> use tab to autocomplete a save time


and avoid mistakes

dir ----------------------------------------> used to list the contents of a


directory

dir /a --------------------------------------> used to reveal hidden files

dir *.png ------------------------------------> used to display all the content


with that extension

cls ----------------------------------------> clear your screen

up and down arrows --------------------------> used to get the history and most
recent directories

mkdir ----------------------------------------> used to make a new directory

rmdir ------------------------------------------> remove directory

rmdir /s --------------------------------------> used to remove a directory with


content in it

ctrl + left ------------------------------> move within words one a word at a time

name: --------------------------------------> used to switch drives (name specifies


the drive's name such as E, D)

color----------------------------------------> to change colors of the background

del + filename -----------------------------------> to delete a file

type filename ---------------------------------------> reads the content of the


file

echo "message" > file name ------------------------------------> to write in a file

echo "message" >> file name -----------------------------------------------> to


append some new values to the file already created

You might also like