CompTIA A+ Core 2 (220-1202) — Question 131

A technician must map a network drive on a piece of legacy equipment running an end-of-life OS. Which of the following is the best script to map the drive using simple Windows commands?

Answer options

Correct answer: B

Explanation

The correct answer is B, Batch, as batch scripts are specifically designed for automation of command line tasks in Windows environments. Shell scripts, while useful, are not natively supported in Windows in the same way, and VB and Java are more complex and not ideal for simple drive mapping tasks.