217k views
0 votes
A technician is creating a batch script that auto-assigns a particular drive share to a drive letter upon login. Which of the following commands can accomplish this?

A. NET USE
B. PING
C. XCOPY
D. IPCONFIG

1 Answer

3 votes

Final answer:

The NET USE command is used to map a network drive to a specific drive letter in a batch script, which is what the technician is trying to accomplish.

Step-by-step explanation:

The command that a technician should use to auto-assign a particular drive share to a drive letter upon login is the NET USE command. This command connects, disconnects, and displays information about network connections, and can be used in a batch script to map a network drive to a specific letter. Here's an example of how it could be used in a script:

NET USE Z: \\Server\SharedFolder

This would map the drive letter Z to the shared folder on the server mentioned.

Other options like PING, XCOPY, and IPCONFIG serve different purposes. PING is used to test the ability to reach a specific IP address, XCOPY is for copying files and directories, and IPCONFIG displays the network settings on the local machine.

User AlexGIS
by
7.3k points