Login | |
|
 |
RE: Handle is invalid - 7/9/2007 5:56:35 AM
|
|
 |
|
| |
mcds99
Posts: 441
Score: 4
Joined: 2/28/2006
Status: offline
|
Check the other script to be sure it isn't pointing to something that needs a full path. Use the full path to the other script.
_____________________________
Sam Keep it Simple Make it Fun KiSMiF
|
|
| |
|
|
|
 |
RE: Handle is invalid - 7/9/2007 6:52:13 AM
|
|
 |
|
| |
Rischip
Posts: 510
Score: 2
Joined: 3/26/2007
Status: offline
|
Or you can adjust the startup folder in the shortcut to the directory where the scripts are running. When you double click something in explorer which is executable it automatically does this for you, hence why it works one way and not the other.
< Message edited by Rischip -- 7/9/2007 6:53:31 AM >
_____________________________
Rischip Author of - The Grim Linker
|
|
| |
|
|
|
 |
RE: Handle is invalid - 7/11/2007 4:22:27 AM
|
|
 |
|
| |
Country73
Posts: 735
Score: 10
Status: offline
|
Which script is the one giving you the error? The initial script that launches the "anothervbs.vbs" or the 'anothervbs.vbs' script?
|
|
| |
|
|
|
 |
RE: Handle is invalid - 7/11/2007 6:41:12 AM
|
|
 |
|
| |
mcds99
Posts: 441
Score: 4
Joined: 2/28/2006
Status: offline
|
Are you running out of File Handles i.e. have to many files open on the server? This is possible because the server will track every open file/path from every user.
_____________________________
Sam Keep it Simple Make it Fun KiSMiF
|
|
| |
|
|
|
 |
RE: Handle is invalid - 7/11/2007 8:16:38 AM
|
|
 |
|
| |
Rischip
Posts: 510
Score: 2
Joined: 3/26/2007
Status: offline
|
Just so we are not overlooking anything. oWShell = createobject("wscript.shell") oWShell.run "anothervbs.vbs",3,1 Should be Set oWShell = createobject("wscript.shell") oWShell.run "anothervbs.vbs",3,1 My anothervbs.vbs is : wscript.sleep 5000 MsgBox "Done" And it works on 2003 server just fine.
< Message edited by Rischip -- 7/11/2007 8:18:13 AM >
_____________________________
Rischip Author of - The Grim Linker
|
|
| |
|
|
|
|
|