It works correctly but does not end cleanly it terminates with the following error:
(14, 17) Microsoft VBScript runtime error: Type mismatch: 'objNetwork.RemoveNetworkDrive'
Regards,
Mark
Shift-3
I'm not able to replicate the error. However, if it is removing the drives correctly then the simplest solution would be to add On Error Resume Next to the beginning of the script.
It works correctly but does not end cleanly it terminates with the following error:
(14, 17) Microsoft VBScript runtime error: Type mismatch: 'objNetwork.RemoveNetworkD
Regards,
Mark