Hi,
I have the following script:

Set objNetwork = CreateObject("WScript.Network")
objNetwork.MapNetworkDrive "X:" , "\\glbfil03\groups\Custchoice\Pratik\DailyCRMTasksDatabases"
objNetwork.MapNetworkDrive "N:" , "\\GLANW001\DATA\Data\Common\Operational Resource And Reporting\PA\Data Files"
objNetwork.MapNetworkDrive "B:" , "\\glbfil03\Groups\Custchoice\Pratik"
objNetwork.MapNetworkDrive "W:" , "\\glbfil03\groups\Custchoice\Pratik\DailyRunRateDatabases"
objNetwork.MapNetworkDrive "U:" , "\\10.216.2.31\DOS"
How i amend the code to check if the drive is already mapped and if it is then to go onto the next drive..

At the moment, if one of the drives is mapped, it doesnt map either of the other ones