
Jan 7th, 2008, 08:53
|
 |
Lead Administrator
|
|
Join Date: May 2007
Location: inside the outside
Posts: 1,431
Thanks: 1
Thanked 17 Times in 15 Posts
|
|
|
Re: Using Asp to execute a command in a .exe file
this works for me:
- Code: Select all
<%
Dim batchFile
Dim oShell
batchFile = "C:\SafariSetup.exe"
Set oShell = CreateObject("WScript.Shell")
oShell.Run batchFile,3,false
Set oShell = Nothing
If Err.Number <> 0 Then
If oShell <> Nothing Then Set oShell = Nothing
End If
%>
|