Menu

Command Prompt practice questions

Pick an answer and press "Check answer" to see right away whether you got it. If you are unsure, open "Read the article" to review the command and then try again. Questions you answer correctly are remembered in this browser.

171 questions

Solved 0 / 171

Choose a topic

Try 3 questions first

ping - Network Connectivity Check — Question 1

Which of the following can the ping command normally NOT verify?

Choose one answer.

  1. Whether the destination on the network is reachable
  2. The approximate time taken to respond
  3. Detailed hardware configuration of the destination

Read the article: ping - Network Connectivity Check

Redirection — Question 1

Which command correctly saves the output of dir to filelist.txt by overwriting?

Choose one answer.

  1. dir > filelist.txt
  2. dir >> filelist.txt
  3. dir < filelist.txt

Read the article: Redirection

xcopy - Advanced File Copy — Question 1

Choose the correct command to copy a whole directory, including empty subdirectories.

Choose one answer.

  1. xcopy Source Destination
  2. xcopy Source Destination /s
  3. xcopy Source Destination /s /e
  4. xcopy Source Destination /e

Read the article: xcopy - Advanced File Copy