13.2.1 Command Prompt Flashcards

1
Q

What can you execute from the Run dialog?

A

Any command

For a series of commands or viewing output, use the command shell.

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

How can you run legacy commands in Windows 11?

A

At a modern Windows PowerShell prompt

This is part of the redesigned command interface as Windows Terminal.

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

What is required for some commands in the Command Prompt?

A

Elevated privileges

If elevation is needed, a message will state ‘The requested operation requires elevation.’

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

How do you run the Command Prompt as an administrator?

A

Right-click the shortcut and select ‘Run as administrator’

Alternatively, type cmd in the Instant Search box and press CTRL+SHIFT+ENTER.

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

What indicates that the Command Prompt is running with elevated privileges?

A

‘Administrator: Command Prompt’ in the title bar

The default folder will also change to C:\Windows\System32.

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

What command can be used to clear the Command Prompt screen?

A

cls

This can be helpful to remove clutter from the view.

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

What is the command syntax format?

A

Command name, switches, and arguments

Required and optional arguments and switches are listed in the command syntax.

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

What should you do if an argument includes a space?

A

Enclose it in quotes

This ensures the command is processed correctly.

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

What is the purpose of the help system in the Command Prompt?

A

To provide information on available commands

Type ‘help’ followed by ENTER to see the commands.

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

How do you get command-specific help?

A

Type ‘help Command’ or ‘Command /?’

For example, ‘netstat /?’ displays help on the netstat command.

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

What happens when you start commands like nslookup or telnet?

A

They work in interactive mode

The prompt will only accept inputs related to that program until you exit.

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

What command do you use to exit an interactive command?

A

exit or quit

Alternatively, press CTRL+C to leave the program.

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

What will happen if you use ‘exit’ when not in an interactive command?

A

It will close the Command Prompt window

This is useful for ending the session.

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

What is the default folder when the Command Prompt runs as administrator?

A

C:\Windows\System32

This differs from the user’s default directory.

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

Fill in the blank: The command prompt processes legacy commands from early Windows versions and _______.

A

modern Windows PowerShell prompt.

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