If all you need is for a batch file to run periodically, I'd suggest to you
just setup a scheduled task in the Task Scheduler. If you need to do more
than that and you need to run it from a script, you can do the following:
Dim WSShell
Set WSShell = CreateObject("WScript.Shell")
Dim RetVal
RetVal = WSShell.Run("C:\myscript.bat", 1, True)
Check out the following for more info:
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/scri...
ml/wsmthrun.asp
Ken
I have a batch file that i need execute periodically.
How can i execute from VBS?
thanks in advance,
Rogrio