nerdexam
CompTIA

220-1002 · Question #772

Which of the following file types uses the net use command.

The correct answer is B. bet. The answer 'bet' is a typo for '.bat' (batch file). Windows batch files (.bat) are plain-text scripts executed by the Windows command interpreter (cmd.exe) and commonly use the 'net use' command to map or disconnect network drives (e.g., 'net use Z: \\server\share…

Networking

Question

Which of the following file types uses the net use command.

Options

  • A.py
  • Bbet
  • C.vbs
  • Djs

How the community answered

(39 responses)
  • A
    5% (2)
  • B
    90% (35)
  • C
    3% (1)
  • D
    3% (1)

Explanation

The answer 'bet' is a typo for '.bat' (batch file). Windows batch files (.bat) are plain-text scripts executed by the Windows command interpreter (cmd.exe) and commonly use the 'net use' command to map or disconnect network drives (e.g., 'net use Z: \server\share /persistent:yes'). Python (.py), VBScript (.vbs), and JavaScript (.js) files are not the native, standard file type associated with the 'net use' command - it is a native Windows shell command most directly associated with batch scripting.

Topics

#batch files#net use command#Windows scripting#file types

Community Discussion

No community discussion yet for this question.

Full 220-1002 Practice