CompTIA Server+ (SK0-005) — Question 126
Which of the following commands should a systems administrator use to create a batch script to map multiple shares?
Answer options
- A. nbtstat
- B. net use
- C. tracert
- D. netstat
Correct answer: B
Explanation
The correct command is 'net use', which allows mapping network drives and shares in a batch script. The other options, such as 'nbtstat', 'tracert', and 'netstat', serve different purposes; 'nbtstat' is for NetBIOS over TCP/IP, 'tracert' is used for network path tracing, and 'netstat' displays network connections and listening ports, none of which are used for mapping shares.