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?
For legacy Windows systems, the simplest and most compatible approach is a Windows batch script using built-in commands like net use. Quentin Docter explains that ''Remapping network drives can be done... with VBScript, PowerShell, Window batch scripts... However, Windows batch script and PowerShell are the most common,'' and shows the batch method using net use m: \server1files. Because the scenario specifies legacy equipment and simple Windows commands, batch scripting is the best fit: it runs directly under cmd.exe without needing additional runtimes or frameworks that may be missing or unsupported on an end-of-life OS.
Mike Meyers' Lab Manual reinforces that ''The net use command is a command-line method for mapping network shares,'' giving the example net use x: \server1research. The All-in-One guide provides the same exact mapping approach and emphasizes that net use maps a drive letter to a UNC path.
Therefore, the best script type here is Batch (B).
Currently there are no comments in this discussion, be the first to comment!