Solved

Run .exe file using ASP VBScript

Posted on 2007-11-28
2
3,694 Views
Last Modified: 2012-06-27
Hi Experts,

      Does anyone here has an idea how to run an exe visibly inside ASP vbscript code? Below is the code that I am using so far. It did run an exe file but not visible, it has an instance running in Task manager. What I want to happen is to run it visible so that I can terminate it easily without going to Task Manager window and I can see also what the error if there is.
set WshShell = server.CreateObject("WScript.Shell") 
sFileName="exporter.exe"
WshShell.Run server.MapPath(sFileName)
set WshShell= nothing

Open in new window

0
Comment
Question by:barman78
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 8

Accepted Solution

by:
deadite earned 125 total points
ID: 20372237
Try the extra window parameters to display the window.  Here are the options:

http://www.devguru.com/Technologies/wsh/quickref/wshshell_Run.html
0

Featured Post

Want Experts Exchange at your fingertips?

With Experts Exchange’s latest app release, you can now experience our most recent features, updates, and the same community interface while on-the-go. Download our latest app release at the Android or Apple stores today!

Question has a verified solution.

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

Welcome, welcome!  If you are new to the series and haven't been following along, please take a brief moment to review the first three installments: Part 1 (http://www.experts-exchange.com/Programming/Languages/Visual_Basic/VB_Script/A_266-VBScri…
Have you ever needed to get an ASP script to wait for a while? I have, just to let something else happen. Or in my case, to allow other stuff to happen while I was murdering my MySQL database with an update. The Original Issue This was written…
Michael from AdRem Software outlines event notifications and Automatic Corrective Actions in network monitoring. Automatic Corrective Actions are scripts, which can automatically run upon discovery of a certain undesirable condition in your network.…
Michael from AdRem Software explains how to view the most utilized and worst performing nodes in your network, by accessing the Top Charts view in NetCrunch network monitor (https://www.adremsoft.com/). Top Charts is a view in which you can set seve…

623 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