Solved

ASP Component Needed

Posted on 2001-08-22
3
336 Views
Last Modified: 2012-06-27
I need a component to run exe.
0
Comment
Question by:ansi_c
  • 2
3 Comments
 
LVL 33

Accepted Solution

by:
hongjun earned 60 total points
ID: 6416069
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
 
LVL 33

Expert Comment

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

hongjun
0
 

Author Comment

by:ansi_c
ID: 6416093
Thanks. I think I will use WScript for simplicity.
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

I have helped a lot of people on EE with their coding sources and have enjoyed near about every minute of it. Sometimes it can get a little tedious but it is always a challenge and the one thing that I always say is:  The Exchange of information …
This demonstration started out as a follow up to some recently posted questions on the subject of logging in: http://www.experts-exchange.com/Programming/Languages/Scripting/JavaScript/Q_28634665.html and http://www.experts-exchange.com/Programming/…
Windows 10 is mostly good. However the one thing that annoys me is how many clicks you have to do to dial a VPN connection. You have to go to settings from the start menu, (2 clicks), Network and Internet (1 click), Click VPN (another click) then fi…
Migrating to Microsoft Office 365 is becoming increasingly popular for organizations both large and small. If you have made the leap to Microsoft’s cloud platform, you know that you will need to create a corporate email signature for your Office 365…

867 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

20 Experts available now in Live!

Get 1:1 Help Now