I download ASPExec 3.0 from
http://www.serverobjects.com. It
is supposed to allows you to execute DOS and Windows apps.
I move the DLL in the subdirectory \winnt\system32 and I type regsvr32
aspexec.dll
I went into control panel/services/world wide web publishing service and turn "Allow Service to Interact with Desktop" on.
I execute the program :
The results :
Attempting to execute notepad.exe
The result of this call was : Ok
But it doesn't work! I see Notepad in the taskmanager but it won't appear on my desktop
Did i do something incorrectly?
code:
<%
Set Executor = Server.CreateObject("ASPExec.Execute")
Executor.Application = "notepad.exe"
Executor.Parameters = "c:\autoexec.bat"
Executor.ShowWindow = True
Response.Write "Attempting to execute " & Executor.Application & "<br>"
strResult = Executor.ExecuteWinApp
Response.Write "The result of this call was: " & strResult
%>
I wait for your advices,
Thanks!
Sarah