Ciao a Tutti,
ho la seguente pagina test.asp
Non riesco a far eseguire la calcolatrice perche' il path contiene uno spazio vuoto...
Come faccio a schermarlo ??
<%@ Language=VBScript %>
<% Option Explicit %>
<%
If Request.Form("pressed")="yes" Then
Dim File, WShShell
Set WShShell = Server.CreateObject("WScript.Shell")
WShShell.Run("d:\Program Files \calc.exe")
Set WShShell = Nothing
End If
%>
<head>
<meta http-equiv="Content-Language" content="it">
<meta http-equiv="Content-Type" content="text/html; charset=windows-1252">
<title>AA</title>
</head>
<body>
<div align="center">
<table>
<tr><td>
<form name="frmDump" method="post" onsubmit="document.frmDump.pressed.value='yes';">
<input type="hidden" name="pressed" value="">
<input type="submit" value="Dump" name="btnSubmit">
</form></td></tr>
</table></div>
</body>
Grazie in anticipo !!

Rispondi quotando
