Dim WshShell
set WshShell = CreateObject("wscript.Shell")
Dim fso
Set fso = CreateObject("scripting.filesystemobject")
' Run CORE Win100 Client
' Set path to Win100 executable
sExePath = "E:\PROGRA~1\CoreDir\Users\" &_
"\corelogin.bat"
' Set switch for silent installation of workstation client.
sSwitches = ""
If fso.FileExists(sExePath) Then
WshShell.Run Chr(34) & sExePath & Chr(34) & " " & sSwitches, 3, False
Else
End If