Hi All,
Is there any problem with the following snipet from a script, it's very similar to the other mapping, see below
If InStr(strGroup, "CN=DIRECTORS") then
wshNetwork.MapNetworkDrive "j:","\\servername\Directors"
END If
If i combine the mapping line in with another group of mappings all is ok.
If InStr(strGroups, "CN=ACCOUNTS") Then
wshNetwork.MapNetworkDrive "p:","\\servername\accounts"
wshNetwork.MapNetworkDrive "t:","\\servername\accountsdb"
wshNetwork.MapNetworkDrive "q:","\\servername\quickbooks2012"
wshNetwork.MapNetworkDrive "j:","\\servername\Directors"
END If
The Directors group look the same properties as the rest, but cant see why it would't map, on the first example.
Many Thanks
Richard