1.

Solve : Creating Batch Files?

Answer»

I would like to create a batch (.bat) file that would output and receive TEXT through one of my computers COM ports. Is this possible?Yes, but it may not do what you want.
Study the MODE command to learn how to set the serial ports.

If you have a DIAL up modem on the com1 port you would do this:
echo ATZ >com1
Which might not work if you had not already set the parameters with the MODE command.
And you could send the contents of a com port to a file:
copy con1 test.txt
But it may hang if the com port never SENDS a control Z

Did you have something SPECIFIC in mind?





Discussion

No Comment Found