|
I am trying to run Visual Basic Script on Windows 2003 Server. When I run the script, I keep getting file handle and not enough storage space errors. When I run the script on Windows 2000 it runs flawlessley. Can anyone help me??
If oX.FileExists("MAIL.vbs") Then
' hack hack - Win2003 returns Handle is invalid, make
' a new shell object and use the run on that
WScript.sleep 3000
Set oWShellHack = CreateObject("Wscript.shell")
oWShellHack.Run "s:\d\p_in\MAIL.vbs",2,1
Set oLogFile = oFSO.OpenTextFile(LOG_FILE, 8)
oLogFile.WriteLine("Mail.vbs was processed.")
oLogFile.Close
End If
|
|
|
Argh I cant find it right now, but I am sure I remember seeing this same resolutions over at vbasic.net. I will try and find it and post it here. Try searching over there.
|
|
|
|
|
|
|
// |