I have an asp page that was executing a batch file with the following code:
'kick off the process that imports the file data into the database
Dim command
Set Executor = Server.CreateObject("ASPExec.Execute"
Executor.Application = LocalPath&batchname
Executor.Parameters = ""
strResult = Executor.ExecuteDosApp
However, I had to do it instead of in the asp page, in a .vbs file. How do accomplish the exact same as above, but in a .vbs?
Thanks in advance ****************
DariceLR
:-{} :-V
****************
'kick off the process that imports the file data into the database
Dim command
Set Executor = Server.CreateObject("ASPExec.Execute"
Executor.Application = LocalPath&batchname
Executor.Parameters = ""
strResult = Executor.ExecuteDosApp
However, I had to do it instead of in the asp page, in a .vbs file. How do accomplish the exact same as above, but in a .vbs?
Thanks in advance ****************
DariceLR
:-{} :-V
****************