10-14-2009, 10:53 AM
you can use 'Wscript' to call your vbs file
see the example below
specifying waitonreturn argument for Run as true will enable the script to wait until your first vbs executes.
see the example below
Code:
Dim oShell
Set oShell = CreateObject("Wscript.Shell")
oShell.run "C:\test1.vbs", , True
oShell.run "C:\test2.vbs", , True