Solved

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

Posted on 2003-12-09
3
234 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
[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
3 Comments
 
LVL 19

Accepted Solution

by:
Dexstar earned 250 total points
ID: 9908407
@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
ID: 9909897
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
ID: 9910154
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

Industry Leaders: 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

Suggested Solutions

Title # Comments Views Activity
Xsl Nested Loop 4 32
Clean URL from GET variables 2 118
Adding a hidden div to each row in a table 6 95
Re-position the objects 7 124
Shoutout to Emily Plummer (http://www.experts-exchange.com/members/eplummer26.html) for giving me this article! She did most of it, I just finished it up and posted it for her :)    Introduction In a previous article (http://www.experts-exchang…
Introduction Knockoutjs (Knockout) is a JavaScript framework (Model View ViewModel or MVVM framework).   The main ideology behind Knockout is to control from JavaScript how a page looks whilst creating an engaging user experience in the least …
The viewer will receive an overview of the basics of CSS showing inline styles. In the head tags set up your style tags: (CODE) Reference the nav tag and set your properties.: (CODE) Set the reference for the UL element and styles for it to ensu…
The viewer will learn the basics of jQuery including how to code hide show and toggles. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery…

740 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