Guest_imported
New member
- Jan 1, 1970
- 0
hello,
I use ASP in IIS for my intranet program.
On the same computer, in P:/ I have a .bat file that I want it to be run when user do something on the webpage.
so it the following what I have to do?
-------------------------------------------
Set wsh = Server.CreateObject("WScript.Shell"
wsh.run "D:\ASP\QC\SOURCE\PDM\pdm_run\PartsInf.bat", 0, true
Set wsh = Nothing
--------------------------------------------
when I run that webpage it didn't complain anything, yet it didn't seems have execute my PartsInf.bat either.
if anyone know what have been missing from the code? it WScript.Shell is simply not the way for it?
gus
I use ASP in IIS for my intranet program.
On the same computer, in P:/ I have a .bat file that I want it to be run when user do something on the webpage.
so it the following what I have to do?
-------------------------------------------
Set wsh = Server.CreateObject("WScript.Shell"
wsh.run "D:\ASP\QC\SOURCE\PDM\pdm_run\PartsInf.bat", 0, true
Set wsh = Nothing
--------------------------------------------
when I run that webpage it didn't complain anything, yet it didn't seems have execute my PartsInf.bat either.
if anyone know what have been missing from the code? it WScript.Shell is simply not the way for it?
gus