Go Premium for a chance to win a PS4. Enter to Win

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 346
  • Last Modified:

ASP Component Needed

I need a component to run exe.
0
ansi_c
Asked:
ansi_c
  • 2
1 Solution
 
hongjunCommented:
Try this
<%
dim wsh
set wsh = server.createobject("WScript.Shell")
wsh.run("C:\windows\notepad.exe")
set wsh = nothing
%>

You can also use AspExec component. Download it at http://www.serverobjects.com/products.htm

hongjun
0
 
hongjunCommented:
Note that the use of WScript.Shell does not really need you to register any new dlls. It should be there already.

hongjun
0
 
ansi_cAuthor Commented:
Thanks. I think I will use WScript for simplicity.
0

Featured Post

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now