I write this line because first I want to execute windows exec.
I delete it but nothing change !
It's the same error. This error is done by the line << Response.Write
"Result is " & strResult >> It's the response of ExecuteDosApp.
If you know an other component that can do this, I will enjoy to use it !!
Thanks
"Ray at <%=sLocation%>" <ra*@ajf8jalskdfna.sefrhja7yasdf.com> a écrit dans
le message de news:eT**************@TK2MSFTNGP12.phx.gbl...
On what line do you get the error? I'm not familiar with this ASPExec
component, but what is with Executor.ShowWindow? Who is it going to show
it to. Perhaps that line is the problem and is not necessary.
Ray at home
"fdp3" <fd**@free.fr> wrote in message
news:3f***********************@news.free.fr... Hi,
I need to run an exe on my server from a web-page, presumably using asp,
does anyone know how I can do this because with this script (below) I
get an error : ' permissions denied '
I give all rigth to IUSR and IWAN personn but it the same !?
the asp script :
<%
appli = "/toto/toto.bat"
appli = Server.MapPath(appli)
Set Executor = Server.CreateObject("ASPExec.Execute")
Executor.Application = appli
Executor.ShowWindow = true
Executor.TimeOut = 9000
strResult = Executor.ExecuteDosApp
Response.Write "Result is " & strResult
%>
the toto script :
echo "coucou" >> coucou.lst
thanks for your help