Quiz 5 Flashcards
In DOS, what is the command to see how many directories and files are in a drive?
dir
Which of the following commands helps you to find more information about a specific command such as copy?
Help copy or Copy /?
TF - The command CD\ (in Windows) takes you to the top (root) of the directory tree
True
What represents root in Windows and Linux?
Linux: /
Windows: C:\
When you use C:>dir | more commands in DOS, which key you should press to jump to the next page?
Spacebar
The Set Input /I command in a batch file tells the interpreter to use only the ____ letter of the user input.
First
T/F - The ECHO OFF command means the command interpreter will not display the command that you entered to run the batch file.
True
CD.. (two dots) command in DOS takes you ______ directory
One directory back
The command to remove the file mike.txt is.
Del mike.txt
Assume you are currently working in the Windows 10 command line. The prompt is currently set to the C:> drive and you need access to the USB drive plugged into your laptop, which is the G: drive. The command to switch to the USB Drive is:
G:
BAT writers typically put Echo Off at the _____ of their files
beginning
I have created a directory called apple. What is the command to delete this directory?
RD apple
I have created a directory called apple. Then I added five sub-directories inside of that directory (apple). Now I have changed my mind and want to delete the whole apple directory with its sub-directories. I can’t, why?
You have to delete the sub-directories first
Two types of commands in DOS.
Internal and External
T/F - According to the lecture, Paintbrush (program) is considered an internal command
False