nerdexam
CompTIA

220-802 · Question #158

Which of the following commands is used to map a network drive?

The correct answer is B. NET USE. The NET USE command is the built-in Windows command-line utility for mapping network drives to local drive letters.

Networking

Question

Which of the following commands is used to map a network drive?

Options

  • ANBTSTAT
  • BNET USE
  • CNETMAP
  • DNETSTAT

How the community answered

(51 responses)
  • A
    4% (2)
  • B
    88% (45)
  • C
    6% (3)
  • D
    2% (1)

Why each option

The NET USE command is the built-in Windows command-line utility for mapping network drives to local drive letters.

ANBTSTAT

NBTSTAT displays NetBIOS over TCP/IP statistics and name resolution information and cannot map drives.

BNET USECorrect

NET USE is the correct Windows command to map a remote shared folder to a local drive letter, for example 'net use Z: \\server\share'. It also supports passing credentials and configuring persistent mappings, making it the standard command for this task.

CNETMAP

NETMAP is not a valid Windows command-line utility.

DNETSTAT

NETSTAT displays active TCP/IP network connections and listening ports and has no drive-mapping capability.

Concept tested: NET USE command for mapping network drives

Source: https://learn.microsoft.com/en-us/previous-versions/windows/it-pro/windows-server-2012-r2-and-2012/gg651155(v=ws.11)

Topics

#NET USE#network drive mapping#command line#Windows networking

Community Discussion

No community discussion yet for this question.

Full 220-802 Practice