Send text via TCP using a batch file

Dell / Precision m70...
October 28, 2010 at 04:24:56
Specs: Windows XP, 2.128 GHz / 2047 MB

I am trying to set up a communication between two programs over a TCP connection. I am wondering if it is possible to send data (text in this case) through TCP using a (Windows) batch file.

The reason I ask is that I have here no C/C++/Java etc compilers so I'm restricted in how I can implement this. Maybe VB is possible but I don't know if there is already a compliler in Windows for it.

My knowledge of windows programming is pretty basic



See More: Send text via TCP using a batch file

Report •

October 29, 2010 at 07:09:17
Plain batch can't achieve what you want, but maybe it can be done using a third party free tool. Take a look at PUTTY (google for it); PUTTY is a versatile and advanced communication tool that is scriptable to automate its operations.

An alternate way may be to develope a VBScript that requires no compilation at all.

Report •

October 29, 2010 at 07:36:31
VBScript would require a third party COM object capable of TCP communication, sadly.

How To Ask Questions The Smart Way

Report •
Related Solutions

Ask Question