Is there a way to launch a telnet session from a link_to?
Also I am referring to going to a command prompt then telnet to an IP.
<%= link_to("TELNET", "telnet://domain.com") %>
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’) %>
Chris Habgood wrote:
Ok, I found this but it is trying to go to a web address and not launch
Why don't you actually try Sazima's suggestion (which is the proper way
to do it)?
Sorry, when I tried it the window disappeared so quick I did not think it was working. DOH.