There are two ways to map a network drive and each is more useful in a different situation.

Method 1

This way is the more efficient of the two and most useful if the network path never changes.

Method 2

This method is more useful if the network share changes from time to time.

Something else to consider

Another thing to consider is adding an echo line of text before you map the drive to inform the user of what’s happening. Just so they don’t think that nothing is going on. An example of this would be:



Please enter your comment!
Please enter your name here