Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

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

Posted on 2003-12-09
3
Medium Priority
?
239 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 1000 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

On Demand Webinar: Networking for the Cloud Era

Did you know SD-WANs can improve network connectivity? Check out this webinar to learn how an SD-WAN simplified, one-click tool can help you migrate and manage data in the cloud.

Question has a verified solution.

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

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 Since I wrote the original article about Handling Date and Time in PHP and MySQL several years ago, it seemed like now was a good time to update it for object-oriented PHP.  This article does that, replacing as much as possible the pr…
Viewers will learn about basic arrays, how to declare them, and how to use them. Introduction and definition: Declare an array and cover the syntax of declaring them: Initialize every index in the created array: Example/Features of a basic arr…
The viewer will learn the benefit of using external CSS files and the relationship between class and ID selectors. Create your external css file by saving it as style.css then set up your style tags: (CODE) Reference the nav tag and set your prop…

721 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