I am working on an old ASP web app (not .net) and I need to launch a separate process (exe). After much googling I have yet to find a valid way of doing this. Anyone have any suggestions?
Does CreateProcess work in ASP?
Thanks!
I am working on an old ASP web app (not .net) and I need to launch a separate process (exe). After much googling I have yet to find a valid way of doing this. Anyone have any suggestions?
Does CreateProcess work in ASP?
Thanks!
You'll need to have full control of the server, as this is considered very insecure. It's unlikely a hosting service will allow you to do this.
<script language="VBScript">
Sub Scan
Set objShell = CreateObject("Wscript.Shell")
'objShell.Run "C:\MyApp.exe"
objshell.Exec "C:\MyApp.exe"
End Sub
</script>
Here is an article that explains the whole process.