Solved

Launch command line app from hyperlink

Posted on 2008-10-29
2
474 Views
Last Modified: 2009-09-15
i am putting together an intranet home page for my company. the home page needs to provide several functions and reporting capabilities and would need to be able to launch various applications for the user. i am trying to figure out if there is a way to launch an application from a command-line via a hyperlink on the home page. for example, maybe i have a hyperlink for "Server Application #1" and when a user clicks on that hyperlink it passes the following through a CLI:

"C:/Program Files/Server Application #1/server.exe" /full /analyze /quit

is there any way to do this through a hyperlink or clickable link that will pass this info?
0
Comment
Question by:scottspivey
[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 19

Expert Comment

by:LordOfPorts
ID: 22835721
Out of browser security reasons you cannot launch local files including executables through a link from a web page running on a web server. One potential solution would be to create a Cab file http://msdn.microsoft.com/en-us/library/aa291417(VS.71).aspx or a Java applet http://java.sun.com/applets/ that users would be prompted to download when they access your web page, if the user agrees to accept the Cab file or the applet it would gain sufficient access privileges to be able to launch programs on the user's computer however it does involve a fair amount of development to create such a tool.
0
 
LVL 44

Accepted Solution

by:
scrathcyboy earned 500 total points
ID: 22838008
The above comment relates to general internet pages.  Since you are talking an INTRAnet, you can do this using either Visual Basic, or using Active-X controls in Internet Explorer, but it will work ONLY in Internet Explorer, not any other browser.

To get a working VB solution, click the red button right of your question, "Request Attention" and ask that this question be moved to the visual basic section for a relevant answer.  Good luck.
0

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Things That Drive Us Nuts Have you noticed the use of the reCaptcha feature at EE and other web sites?  It wants you to read and retype something that looks like this. Insanity!  It's not EE's fault - that's just the way reCaptcha works.  But it i…
Not sure what the best email signature size is? Are you worried about email signature image size? Follow this best practice guide.
In this tutorial viewers will learn how add a scalable full-width header using CSS3. Create a new HTML document with an internal stylesheet. Set a tiled background.:  Create a new div and name it Header. Position it with position:absolute at the top…
In this tutorial viewers will learn how to position overlapping items using z-index in CSS. They will also learn the restrictions on the z-index property.  Create a new HTML document with an internal stylesheet.: Create a div in CSS and name it Red.…

728 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