http://qs1969.pair.com?node_id=270781


in reply to mapping a network drive

You can assign a drive name yourself:

system 'net.exe use I: \\\\server_1212\\d$';

Or, use backticks to capture the command output.

@result = `net.exe use * \\\\server_1212\\d$`;