this is mark's code:

Code:
Option Explicit

Public Function RunExe(ByVal Filename As String) As Long
On Error Resume Next

Shell Filename

'return the error if any
RunExe = Err.Number

End Function
compile this as a dll, register is, and then call it with the file you want to run from asp.

dvst8
all kudos to mark