I've been working on a script which logs a user into our cd-rom server,
maps the drive in, starts the application, then on termination of the
program, it deletes the mapped drive. I tested each of these scripts
separately and they all seemed to work fine. However, since combining
all the snippets into one script, I encounter an error when the program
is started in the script. The error message states that "The handle is
invalid." I can't seem to find any explanation of error messages. Can
anyone explain what this means. The subroutine that starts the program
is:
Sub BIPRun()
Set WshShell=Wscript.CreateObject("Wscript.Shell")
' Start BIP and resume script when BIP is terminated
WshShell.Run (WshShell.SpecialFolders("Desktop")) & "\BIP.LNK"
,1,True
End Sub
Any help would be appreciated.
Kwang