Solved

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

Posted on 2003-12-09
3
235 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

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Question has a verified solution.

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

Preface This is the third article about the EE Collaborative Login Project. A Better Website Login System (http://www.experts-exchange.com/A_2902.html) introduces the Login System and shows how to implement a login page. The EE Collaborative Logi…
There are two main kinds of selectors in CSS: One is base selector like h1, h2, body, table or any existing HTML tags.  For instance, the following rule sets all paragraphs (<p> elements) to red: (CODE) CSS also allows us to define our own custom …
This tutorial will teach you the core code needed to finalize the addition of a watermark to your image. The viewer will use a small PHP class to learn and create a watermark.
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…

732 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