Ejecutar Shell en ASP

01/09/2004 - 18:24 por SRenau | Informe spam
Hola,

necesitaria ejecutar un bat desde ASP
He probado con el siguente codigo:

dim WshShell
set WshShell = CreateObject("WScript.Shell")
WshShell.Run("%windir%otepad C:\PRUEBA.BAT")
set oWshShell = nothing


Y tras infinidad de modificaciones ninguna me ha
funcionado.
Alguna idea?
 

Leer las respuestas

#1 Franco Figún
02/09/2004 - 00:16 | Informe spam
Lo intentaste de forma local, no? Ya que para hacer eso, necesitas permisos
de script y exe en el IIS

FF
www.francofigun.com.ar
Yahoo MSN:
ICQ: 314408886
"SRenau" wrote in message
news:431101c49040$2514e6d0$
Hola,

necesitaria ejecutar un bat desde ASP
He probado con el siguente codigo:

dim WshShell
set WshShell = CreateObject("WScript.Shell")
WshShell.Run("%windir%otepad C:\PRUEBA.BAT")
set oWshShell = nothing


Y tras infinidad de modificaciones ninguna me ha
funcionado.
Alguna idea?

Preguntas similares