Alguien me puede ayudar ?vbscript llamara e exe
Publicado por Elsa (5 intervenciones) el 20/05/2010 17:22:54
Este ejemplo sencillo , no funciona. Se queda colgado, pero si me fijo en el administrador de tareas de windows, notepad.exe figura como proceso activo. Poque ?
Gracias
Elsa
<%@ Language = "VBScript" %>
<html>
<head>
<title>Pagina nueva 1</title>
</head>
<body>
<%
'VBScript ExampleSet
DIM WshShell
set WshShell = Server.CreateObject("WScript.Shell")
' WshShell.Run("%windir%\notepad.exe c:\sql-entradas\xxx.dbf")
ReturnCode = WshShell.Run("%windir%\notepad.exe c:\sql-entradas\xxx.dbf", 3, True)
Set oShell = WshShell
%>
Gracias
Elsa
<%@ Language = "VBScript" %>
<html>
<head>
<title>Pagina nueva 1</title>
</head>
<body>
<%
'VBScript ExampleSet
DIM WshShell
set WshShell = Server.CreateObject("WScript.Shell")
' WshShell.Run("%windir%\notepad.exe c:\sql-entradas\xxx.dbf")
ReturnCode = WshShell.Run("%windir%\notepad.exe c:\sql-entradas\xxx.dbf", 3, True)
Set oShell = WshShell
%>
Valora esta pregunta


0