Run .exe file using ASP VBScript

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

barman78Asked:
Who is Participating?

Improve company productivity with a Business Account.Sign Up

x
 
deaditeConnect With a Mentor Commented:
Try the extra window parameters to display the window.  Here are the options:

http://www.devguru.com/Technologies/wsh/quickref/wshshell_Run.html
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.