Login | |
|
 |
Re: Call .vbs from a .vbs - 3/16/2005 12:13:19 AM
|
|
 |
|
| |
mbouchard
Posts: 1916
Score: 16
Joined: 5/15/2003
From: USA
Status: offline
|
2 things, 1) select case is case sensitive, so change this workstation=net.computername to this workstation=lcase(net.computername) 2) You might want to add a wait on return to the calls for the other scripts. also, you do not need () around the run unless you were looking for a return. so, this shell.run("\\2k3svr\netlogon\share.vbs") becomes this shell.run "\\2k3svr\netlogon\share.vbs",1,TRUE
|
|
| |
|
|
|
 |
Re: Call .vbs from a .vbs - 3/16/2005 4:04:49 AM
|
|
 |
|
| |
mbouchard
Posts: 1916
Score: 16
Joined: 5/15/2003
From: USA
Status: offline
|
Why does your script need to call the other 2 scripts? Why not just put the code into the first script?
|
|
| |
|
|
|
|
|