[thelist] exe in asp

Ken Schaefer Ken at adOpenStatic.com
Fri Sep 8 06:52:50 CDT 2006


This would run notepad.exe on the server.

Cheers
Ken


: -----Original Message-----
: From: thelist-bounces at lists.evolt.org [mailto:thelist-
: bounces at lists.evolt.org] On Behalf Of Roman Hmarinka
: Sent: Thursday, 7 September 2006 11:23 PM
: To: thelist at lists.evolt.org
: Subject: [thelist] exe in asp
: 
: hi!
: how can I enter exe-file in asp (classic asp, not asp.net). I tried do it
: this way (in IE 6.0):
: 
: <%@ Language=VBScript %>
: <%
:  Dim WShell, ErrCode
:  Set WShell = CreateObject("WScript.Shell")
:  WShell.Run "F:\Inetpub\wwwroot\notepad.exe",5
:  Set WShell = Nothing
: %>
: 
: any errors, but notepad did not on. only white page.
: thank You.
: Roman




More information about the thelist mailing list