I am having the following problem:
I had a web application using ASPExec on a WinNT server to run a batch file located on the server. We recently migrated the application to a Windows 2000 server. The ASPExec component stopped working. From what I've seen ASPExec doesn't work too well in Win2k. Anyway, I have been trying to use WSCRIPT.Shell to run the batch file.
The process gets kicked off, but hangs (I can see the process in Task Manager).
Code:
Dim wshell, intReturn
Set wshell = CreateObject("WScript.Shell")
intReturn = wshell.run("cmd /k e:\QSL_LITE_DPC\nightly\dpc_dbcreate_manual.bat,1,True")
set wshell = nothing
I have checked the permissions on the folder where the bat file is located. The bat file calls a couple of .exe's in the same location. I can see the first one get called in Task Manager, but it just sits there and doesn't do anything.
Any suggestions?
I had a web application using ASPExec on a WinNT server to run a batch file located on the server. We recently migrated the application to a Windows 2000 server. The ASPExec component stopped working. From what I've seen ASPExec doesn't work too well in Win2k. Anyway, I have been trying to use WSCRIPT.Shell to run the batch file.
The process gets kicked off, but hangs (I can see the process in Task Manager).
Code:
Dim wshell, intReturn
Set wshell = CreateObject("WScript.Shell")
intReturn = wshell.run("cmd /k e:\QSL_LITE_DPC\nightly\dpc_dbcreate_manual.bat,1,True")
set wshell = nothing
I have checked the permissions on the folder where the bat file is located. The bat file calls a couple of .exe's in the same location. I can see the first one get called in Task Manager, but it just sits there and doesn't do anything.
Any suggestions?