smalloy
Posts: 107
|
| Posted: 07/18/2005, 10:11 AM |
|
I am using a SDK that requires an executable run on the server, I'm not sure how to run the executable from my asp code.
Any help would be very much appreciated!
Steve
_________________
Anything can be done, just give me time and money. |
 |
 |
peterr
Posts: 5971
|
| Posted: 07/18/2005, 11:24 AM |
|
http://www.google.com/search?complete=1&hl=en&q=run+exe+from+asp
_________________
Peter R.
YesSoftware Forums Moderator
For product support please visit http://support.yessoftware.com |
 |
 |
smalloy
Posts: 107
|
| Posted: 07/19/2005, 6:21 AM |
|
This is the answer, say the exe is on the c:\temp\runme.exe
then use in your asp:
Dim oShell
Set oShell = WScript.CreateObject ("WSCript.shell")
oShell.run "cmd /K CD C:\temp\runme.exe"
Set oShell = Nothing
Helpful site: http://msdn.microsoft.com/library/default.asp?url=/libr...ml/wsmthrun.asp
Thanks again Peter!!!!
_________________
Anything can be done, just give me time and money. |
 |
 |
|