Windows Command Line Flashcards
Command to change directories
cd
Command to change directories example
cd Jake
Command to go to parent directory
cd ..
Command to go back two parent directories
cd ../..
Command to change two directories example
cd Jake\Desktop
Command to autocomplete
Tab
Command to view the contents of a directory
dir
Command to view the contents of a directory you’re not currently in example
dir Desktop\data
Command to show hidden directories as well
/a
Command to show hidden directories as well example
dir /a
Command to clear the command line
cls
Command to only list files of a certain type
*
Command to only list files of a certain type example
dir *.png
Command to reach previous commands
up arrow
Command to open a file in the default program
name of file
Command to find what any command does
/?
Command to find what any command does example
ipconfig /?
Command to make a new directory
mkdir
Command to make a new directory example
mkdir Photos
Command to delete a directory
rmdir
Command to delete a directory example
rmdir Photos
Command to delete a directory with folders in it
rmdir /s
Command to delete a directory with folders in it example
rmdir /s Photos
Button to move to the beginning of the text
home
Button to move to the end of the text
end
Button to move a full word to the left
ctrl + ←
Button to move a full word to the right
ctrl + →
Absolute path definition
Typing in the full name of the folder to go there directly
Absolute path example
C:\Program Files\Google
Command to go into another drive
drive name: