Ok, I found this but it is trying to go to a web address and not launch a
telnet: Ideas?
<% require 'win32ole' %>
<% shell = WIN32OLE.new('Shell.Application') %>
<td><%= link_to "#{eqpt.name}", "shell.ShellExecute(\"telnet.exe #{eq.ip}\",
'c:\my_rails_app\script\server', '', 'open', 1)" %></td> <td>- <%=
eq.ip%></td>
On Tue, Aug 11, 2009 at 10:49 PM, Sazima <[email protected]> wrote:
>
> <%= link_to("TELNET", "telnet://domain.com") %>
>
> Cheers, Sazima
>
> On Aug 12, 12:17 am, Me <[email protected]> wrote:
> > Is there a way to launch a telnet session from a link_to?
> >
>
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby
on Rails: Talk" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---