Solved

Lauching a local program from a hyperlink within a spreadsheet or document.

Posted on 2003-12-09
3
230 Views
Last Modified: 2010-04-06
How do I launch a program (i.e. - telnet.exe) via a hyperlink within an Excel spreadsheet?

I've tried many values under the Insert>Hyperlink (Ctrl-K) area, such as:

start C:\WINNT\system32\cmd.exe /C "telnet 10.110.235.90"

cmd telnet 10.110.235.90
cmd /c telnet 10.110.235.90

C:\WINNT\system32\cmd.exe /C "telnet 10.110.235.90"  (with and without quotes)
C:\WINNT\system32\cmd.exe /C "telnet 10.110.235.90" (with and without double back slashes between directories)

After saving the spreadsheet, all of the above methods display this error when clicking on the link:
Cannon open the specified file.
[OK]

When I use just:
C:\Winnt\system32\telnet.exe, by itself, I get this message:
-Opening C:\Winnt\system32\telnet.exe
Some files can contain viruses or otherwise be harmful to your computer.
It is important to be certain that this file is from a trustworthy source.
Would you like to open this file?  
[OK]  [Cancel]

Clicking [OK] will open cmd at a telnet prompt, but I would like to bypass this prompt to go directly to the login screen.

I would prefer to have the IP parameter passed on the command, rather than taking two steps to get to my login screen.

Who can help me at the simple level, without getting into coding and massive registry changes?
0
Comment
Question by:Chris-BIND
  • 2
3 Comments
 
LVL 19

Accepted Solution

by:
Dexstar earned 250 total points
Comment Utility
@Chris-BIND:

> How do I launch a program (i.e. - telnet.exe) via a hyperlink within an Excel spreadsheet?

Try this:
     telnet:\\10.110.235.90

Or maybe,
     start telnet:\\10.110.235.90

Hope That Helps,
Dex*
0
 

Author Comment

by:Chris-BIND
Comment Utility
Thanks Dex*, that's exactly the answer I was looking for.  And I even posted in the wrong catagory.  I think I might be getting the Premium Service, if the free stuff is this good.

Chris
0
 
LVL 19

Expert Comment

by:Dexstar
Comment Utility
If my answer helped you, then you should accept it to close out the question.  I'm not sure the Premium Service is better than the free service (the same people answer your questions), but you certainly get more of it!  :)

Dex*
0

Featured Post

Free Trending Threat Insights Every Day

Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

Join & Write a Comment

Preface In the first article: A Better Website Login System (http://www.experts-exchange.com/A_2902.html) I introduced the EE Collaborative Login System and its intended purpose. In this article I will discuss some of the design consideratio…
Styling your websites can become very complex. Here I'll show how SASS can help you better organize, maintain and reuse your CSS code.
Explain concepts important to validation of email addresses with regular expressions. Applies to most languages/tools that uses regular expressions. Consider email address RFCs: Look at HTML5 form input element (with type=email) regex pattern: T…
HTML5 has deprecated a few of the older ways of showing media as well as offering up a new way to create games and animations. Audio, video, and canvas are just a few of the adjustments made between XHTML and HTML5. As we learned in our last micr…

771 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

11 Experts available now in Live!

Get 1:1 Help Now