Chris-BIND
asked on
Lauching a local program from a hyperlink within a spreadsheet or document.
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.e xe, by itself, I get this message:
-Opening C:\Winnt\system32\telnet.e xe
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?
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.e
-Opening C:\Winnt\system32\telnet.e
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?
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
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*
Dex*
ASKER
Chris