Discussion Locked

batch file

0 helpful
10 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.

Can any one interpret the 96,E,7,1,p in the following batch file?

@echo off
mode COM2:96,E,7,1,p
copy C:\label.out COM2:

10 replies

by steved

That mode command sets the COM2 serial port to the following configuration:

9600 baud
even parity
7 data bits
1 stop bit
1 parity bit

by syscokid

Go to Control Panel, Ports, and click on Settings for Com2 to see how these apply to a COM port. They determine how data flows thru the port.

by don christner

Just wanted to point out that 96 baud is so slow that it would be unuseable. You probably need 9600. The important thing to remember is that the device you are trying to communicate with and the com port must be set to the same settings or they will not talk to each other.

Don

by donthom

Sounds like an OLD Compuserve financial access line. They're the only ones that I know still using 7 bits. Is this just curiosity or is this still an active account? I can't believe how many I've seen like this still active for Broker-Dealers.

This discussion is closed to new replies.