Ciao
qualcuno sa se e come posso lanciare un eseguibile da una pagina asp?
Grazie in anticipo
Ciao
qualcuno sa se e come posso lanciare un eseguibile da una pagina asp?
Grazie in anticipo
A bombolo ma che te lo dico affà beato te che nun capisci un cazzo!!
codice:set objshell=server.createobject("wscript.shell") ret=objshell.run ("eseguibile.exe") if ret=0 then 'eseguito correttamente else 'errore end if
ma la cartella con il file deve avere permessi di esecuzione script ed eseguibili......
Scusate i puntini di sospensione...... La verità è che non ho argomenti....
grazie mille
A bombolo ma che te lo dico affà beato te che nun capisci un cazzo!!
ciao e scusate l'intrusione... sto provando a fare la stessa cosa e scrivo così:Originariamente inviato da xifilitic
grazie mille
ma restituisce:codice:<% set objshell=server.createobject("wscript.shell") ret=objshell.run ("sga.exe") if ret=0 then 'eseguito correttamente else 'errore end if %>
error '80070002'
The system cannot find the file specified.
/vai.asp, line 3
sulla cartella ho il controllo completo... dove sbaglio?
ret=objshell.run Server.MapPath("sga.exe")
I don't wanna have to shout it out / I don't want my hair to fall out
I don't wanna be filled with doubt / I don't wanna be a good boy scout
I don't wanna have to learn to count / I don't wanna have the biggest amount
I don't wanna grow up
Grazie, ma:Originariamente inviato da Corwin
ret=objshell.run Server.MapPath("sga.exe")
Microsoft VBScript compilation error '800a0401'codice:<% set objshell=server.createobject("wscript.shell") ret=objshell.run Server.MapPath("sga.exe") if ret=0 then 'eseguito correttamente else 'errore end if %>
Expected end of statement
/vai.asp, line 3
ret=objshell.run Server.MapPath("sga.exe")
-----------------^
![]()
ret=objshell.run(Server.MapPath("sga.exe"))
chiedo venia.
I don't wanna have to shout it out / I don't want my hair to fall out
I don't wanna be filled with doubt / I don't wanna be a good boy scout
I don't wanna have to learn to count / I don't wanna have the biggest amount
I don't wanna grow up
Grazie, non dà più errore, ma sga.exe non si apre...Originariamente inviato da Corwin
ret=objshell.run(Server.MapPath("sga.exe"))
chiedo venia.![]()
Ehm, in che senso non si apre ?
I don't wanna have to shout it out / I don't want my hair to fall out
I don't wanna be filled with doubt / I don't wanna be a good boy scout
I don't wanna have to learn to count / I don't wanna have the biggest amount
I don't wanna grow up
scusa, non viene eseguito... pensavo che con questa procedura si potesse visualizzare un eseguibile residente sul server in rete locale direttamente online...Originariamente inviato da Corwin
Ehm, in che senso non si apre ?![]()