13.2.1 Command Prompt Flashcards
What can you execute from the Run dialog?
Any command
For a series of commands or viewing output, use the command shell.
How can you run legacy commands in Windows 11?
At a modern Windows PowerShell prompt
This is part of the redesigned command interface as Windows Terminal.
What is required for some commands in the Command Prompt?
Elevated privileges
If elevation is needed, a message will state ‘The requested operation requires elevation.’
How do you run the Command Prompt as an administrator?
Right-click the shortcut and select ‘Run as administrator’
Alternatively, type cmd in the Instant Search box and press CTRL+SHIFT+ENTER.
What indicates that the Command Prompt is running with elevated privileges?
‘Administrator: Command Prompt’ in the title bar
The default folder will also change to C:\Windows\System32.
What command can be used to clear the Command Prompt screen?
cls
This can be helpful to remove clutter from the view.
What is the command syntax format?
Command name, switches, and arguments
Required and optional arguments and switches are listed in the command syntax.
What should you do if an argument includes a space?
Enclose it in quotes
This ensures the command is processed correctly.
What is the purpose of the help system in the Command Prompt?
To provide information on available commands
Type ‘help’ followed by ENTER to see the commands.
How do you get command-specific help?
Type ‘help Command’ or ‘Command /?’
For example, ‘netstat /?’ displays help on the netstat command.
What happens when you start commands like nslookup or telnet?
They work in interactive mode
The prompt will only accept inputs related to that program until you exit.
What command do you use to exit an interactive command?
exit or quit
Alternatively, press CTRL+C to leave the program.
What will happen if you use ‘exit’ when not in an interactive command?
It will close the Command Prompt window
This is useful for ending the session.
What is the default folder when the Command Prompt runs as administrator?
C:\Windows\System32
This differs from the user’s default directory.
Fill in the blank: The command prompt processes legacy commands from early Windows versions and _______.
modern Windows PowerShell prompt.