Hi All,
Anyone has run the exe file use vbscript in server side? I try this but it doesn't work, please advise..
temp = Request.ServerVariables("appl_physical_path")
set testExe = server.CreateObject("wscript.shell")
testExe.Run "%ComSpec% /c " & temp & " Myprogram.exe"
I also try this without the "%ComSpec% /c " , it does work either---
testExe.Run temp & " Pim91Load.exe"
Should I also run this exe file with some parameters?
like: testExe.Run temp & " Pim91Load.exe" & " " & parameter
thanks a lot for any help.
John
Anyone has run the exe file use vbscript in server side? I try this but it doesn't work, please advise..
temp = Request.ServerVariables("appl_physical_path")
set testExe = server.CreateObject("wscript.shell")
testExe.Run "%ComSpec% /c " & temp & " Myprogram.exe"
I also try this without the "%ComSpec% /c " , it does work either---
testExe.Run temp & " Pim91Load.exe"
Should I also run this exe file with some parameters?
like: testExe.Run temp & " Pim91Load.exe" & " " & parameter
thanks a lot for any help.
John