Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

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

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

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

It's sometimes a bit tricky to use date functions in Oracle BPEL. I'll explain quickly how you can add N days to the current date. In a BPEL process this can be useful, and you can adapt it to fit your needs. First of all, let's see how to add 1 …
Have you tried to learn about Unicode, UTF-8, and multibyte text encoding and all the articles are just too "academic" or too technical? This article aims to make the whole topic easy for just about anyone to understand.
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…
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…
Suggested Courses

885 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