Hi there,
I am not sure if your batch file is a DOS .bat file or if is a VBS file, in
any case if you want to run a DOS batch file here is the syntax:
Dim objShell
Set objShell=CreateObject("WScript.Shell")
objShell.Run "%comspec% /c filename.bat",,TRUE
The TRUE value allows VBScript to continue process after the DOS process is
complete.
Regards,
Mariano Gomez
Auxis, Inc.
Quote:
> Need a way to execute a batch file when clicking a button, I'm using VB
> Script on an ASP page.