Quiz 5 Flashcards

1
Q

In DOS, what is the command to see how many directories and files are in a drive?

A

dir

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

Which of the following commands helps you to find more information about a specific command such as copy?

A

Help copy or Copy /?

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

TF - The command CD\ (in Windows) takes you to the top (root) of the directory tree

A

True

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

What represents root in Windows and Linux?

A

Linux: /
Windows: C:\

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

When you use C:>dir | more commands in DOS, which key you should press to jump to the next page?

A

Spacebar

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

The Set Input /I command in a batch file tells the interpreter to use only the ____ letter of the user input.

A

First

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

T/F - The ECHO OFF command means the command interpreter will not display the command that you entered to run the batch file.

A

True

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

CD.. (two dots) command in DOS takes you ______ directory

A

One directory back

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

The command to remove the file mike.txt is.

A

Del mike.txt

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

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:

A

G:

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

BAT writers typically put Echo Off at the _____ of their files

A

beginning

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

I have created a directory called apple. What is the command to delete this directory?

A

RD apple

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

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?

A

You have to delete the sub-directories first

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

Two types of commands in DOS.

A

Internal and External

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

T/F - According to the lecture, Paintbrush (program) is considered an internal command

A

False

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

SET sets a variable. Which switch do you use, If you want users to place their input?

A

/P

17
Q

With DIR | more you press the ________ to go to the next page. With DIR /p you press ___ key to go to the next page

A

spacebar, any