N
Nico
I try to execute a shell command from ASP with:
response.write("start")
Set wshShell = CreateObject("WScript.Shell")
wshShell.Run "notepad"
Set wshShell = Nothing
response.write("finished")
but it doesn't work, there is no error message, the page just displays
nothing. I tried various commands like "mkdir test" or calling a batch
file, always with the same result. When I just create the object, but
don't run a command the page is displayed without error messages.
Any ideas?
response.write("start")
Set wshShell = CreateObject("WScript.Shell")
wshShell.Run "notepad"
Set wshShell = Nothing
response.write("finished")
but it doesn't work, there is no error message, the page just displays
nothing. I tried various commands like "mkdir test" or calling a batch
file, always with the same result. When I just create the object, but
don't run a command the page is displayed without error messages.
Any ideas?