Re: Batch file to Telnet over internet.

From: Herb Martin (news_at_LearnQuick.com)
Date: 12/01/04


Date: Wed, 1 Dec 2004 05:21:39 -0600


"Amit" <Amit@discussions.microsoft.com> wrote in message
news:CC39CAA8-D380-438C-9207-D74A91EBD576@microsoft.com...
> I want something that would work on internet. Not just LAN. PCEXEC works
only
> on LAN.
> Any suggestions?

NetCat (nc.exe) is suitable for Telnet-style scripting (and other
stuff.)

AKA: NetCat for NT (to help you Google search)

-- 
Herb Martin
>
> > "Amit" <Amit@discussions.microsoft.com> wrote in message
> > news:48AF821D-163A-458B-8AB5-C38BCD8CA281@microsoft.com...
> > > Hello.
> > > I want to telnet a server in a remote location and then send a message
to
> > > everyone under that server's workgroup. I figured this can be done via
> > first,
> > > telnet the server and then, use net send command to send the message.
> > >
> > > I have to do this several times a day. I was looking for a batch file
that
> > > would telnet, user name, password, net send, message, and exit.
> > >
> > > I searched google and everything, but nothing seems to work.
> > > Please suggest.
> > > Thanks.
> >
> > Use psexec.exe from www.sysinternals.com.


Relevant Pages

  • Re: Remote telnet through firewall failing
    ... >>LAN on which I am building this server, ... >>on the end user LAN. ... The telnet problem required a solution, ...
    (comp.unix.sco.misc)
  • Re: DNS Server Name
    ... You should NOT have port 80 forwarded to anything on your LAN. ... I would enable NetBIOS over TCP/IP since the single NIC should be your LAN ... When you run the CEICW, on the Web Server Certificate page, you should enter ... telnet SBSserverNetBIOSname 25 ...
    (microsoft.public.windows.server.sbs)
  • Re: Please help with ssh over internet to LAN server behind NAT
    ... can you telnet to the port and actually ... > see with tcpdump that the server is getting something. ... > The server and other computers on the LAN are behind a NAT. ... > The command and response looks like this: ...
    (comp.security.ssh)
  • Re: RDP access to SBS 2003 - HELP please
    ... http://www.whatismyipaddress.com/ (from the server). ... Merv Porter [SBS-MVP] ... I use the IP address in RDP and that will be the internal LAN IP or the ... of it to the telnet prompt and quit. ...
    (microsoft.public.windows.server.sbs)
  • Re: Remote telnet through firewall failing
    ... >I am building this server, but there will be none on the end user LAN. ... but mainly due to the nature of the client software involved. ... >direct telnet was still required for at least three of the users. ...
    (comp.unix.sco.misc)