nerdexam
CompTIA

220-1002 · Question #542

A technician needs to configure network shares on users' computers when they log on. The technician wrote the script with the net use command. Which of the following script file types is the…

The correct answer is A. bat. The 'net use' command is a Windows command-line utility used to map network drives. Scripts written for Windows using such commands are saved as batch files with the .bat extension, which are executed by the Windows command interpreter (cmd.exe). Batch files are commonly used…

Networking

Question

A technician needs to configure network shares on users' computers when they log on. The technician wrote the script with the net use command. Which of the following script file types is the technician writing?

Options

  • Abat
  • B.sh
  • Cpy
  • D.js

How the community answered

(35 responses)
  • A
    91% (32)
  • B
    6% (2)
  • C
    3% (1)

Explanation

The 'net use' command is a Windows command-line utility used to map network drives. Scripts written for Windows using such commands are saved as batch files with the .bat extension, which are executed by the Windows command interpreter (cmd.exe). Batch files are commonly used as logon scripts in Windows environments. A .sh file (B) is a shell script for Unix/Linux. A .py file (C) is a Python script. A .js file (D) is a JavaScript file, typically for web or Node.js environments.

Topics

#batch script#net use command#network shares#logon script

Community Discussion

No community discussion yet for this question.

Full 220-1002 Practice