nerdexam
CompTIA

220-802 · Question #894

Which of the following commands would be used to go from c:\windows to c:\windows\system32?

The correct answer is D. CD. The CD (Change Directory) command is used to navigate between directories in the Windows command prompt.

Hardware

Question

Which of the following commands would be used to go from c:\windows to c:\windows\system32?

Options

  • ARD
  • BMD
  • CDIR
  • DCD

How the community answered

(28 responses)
  • B
    4% (1)
  • C
    4% (1)
  • D
    93% (26)

Why each option

The CD (Change Directory) command is used to navigate between directories in the Windows command prompt.

ARD

RD (Remove Directory) deletes an existing directory and cannot be used for navigation.

BMD

MD (Make Directory) creates a new directory rather than navigating to an existing one.

CDIR

DIR lists the contents of the current directory but does not change the working directory.

DCDCorrect

CD (Change Directory) changes the current working directory in the command prompt. To navigate from C:\Windows to C:\Windows\System32, you would type 'CD System32' or 'CD C:\Windows\System32'. It is the standard command for directory traversal in Windows CLI.

Concept tested: Windows CLI directory navigation command

Source: https://learn.microsoft.com/en-us/windows-server/administration/windows-commands/cd

Topics

#CD command#command prompt#directory navigation#Windows CLI

Community Discussion

No community discussion yet for this question.

Full 220-802 Practice