I need to create a logon script for XP Pro machines and MS 2003 Server.
This is the part I am currently stuck on.
++++++++++++++++++++++++++++++
Dim WSHNetwork
If (mid(UCase(strComputer), 3, 2) = "LT") Then
WSHNetwork.MapNetworkDrive "P:", "\\"&strComputer&"\Procede",True
Else
WSHNetwork.MapNetworkDrive "P:", "\\prosperity\SharedData\CommonShare"
End if
++++++++++++++++++++++++++++++
But I get this error
++++++++++++++++++++++++++++++
Line: 6
Char: 1
Error: Object required: "
Code: 800A01A8
++++++++++++++++++++++++++++++
Can someone help me out?
Thanks
Kelvin
This is the part I am currently stuck on.
++++++++++++++++++++++++++++++
Dim WSHNetwork
If (mid(UCase(strComputer), 3, 2) = "LT") Then
WSHNetwork.MapNetworkDrive "P:", "\\"&strComputer&"\Procede",True
Else
WSHNetwork.MapNetworkDrive "P:", "\\prosperity\SharedData\CommonShare"
End if
++++++++++++++++++++++++++++++
But I get this error
++++++++++++++++++++++++++++++
Line: 6
Char: 1
Error: Object required: "
Code: 800A01A8
++++++++++++++++++++++++++++++
Can someone help me out?
Thanks
Kelvin