Command prompt Flashcards
How do you get to the root using dir?
c:\ (the slash)
How do you change drive in cmd?
d: (no cd needed)
What’s the dir command to get to c:\man\im\fukin\bored.txt
dir c:\man\im\fukin\bored.txt
What is a syntax?
A correctly written cmd command
Joseph wants to read his 1000 files of erotica but using the dir command overwhelms his cmd prompt. How can he stagger the results so they’re more visually digestible?
dir /p to make pages instead of a text dump
A lalafell wants to make a folder called madbcuzsmall in their pictures library. If their username is “hench” what command would they need to use to accomplish this?
mkdir c:\users\hench\pictures\madbcuzsmall
The lalafell now wants to delete the madbcuzsmall folder. How u do that?
rmdir c:\users\hench\pictures\madbuzsmall\
How do you run a file in cmd?
Locate the folder its in and type the name innit
Gorb wants to find a funne meme png on his system but only remembers its filename starting with pizza. How can he look for it?
By locating to the folder its in and typing dir pizza*.png
are del commands sent to the recycle bin?
Nope. Deleted permanantly
Can wildcards be used with the del command?
Yes
What is the four step process to using the copy command
1) Go to directory
2) Type copy
3) Add file to copy
4) Add destination to copy to
What is an example of a copy command
copy haru.png coom (copies hary.png to coom folder)
what is the main feature of xcopy
To copy multiple directories
How do you copy all but empty directories with xcopy
xcopy /s