I am running a batch file that automatically maps a network drive on start up using the "net use" command:
net use d:\\server\share <mypassword> /user:<user>
This works fine as the result in Windows Explorer shows:
\\server\share (D:)
I would like to give the share a different name though. Is there a way to provide some sort of alias in the net use
command for the network mapped drive?
Best Answer
I'm assuming that you want some sort of friendly label on the drive, so rather than saying "\\server\share," it says "Sales Reports" or whatever is in the share. Here's how you do it.