General discussion

Locked

batch file

By frec1 ·
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:

This conversation is currently closed to new comments.

10 total posts (Page 1 of 1)  
| Thread display: Collapse - | Expand +

All Comments

Collapse -

batch file

by SteveD In reply to batch file

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

Collapse -

batch file

by frec1 In reply to batch file

Poster rated this answer

Collapse -

batch file

by SyscoKid In reply to batch file

96=baud rate
E=parity
7=data bits
1=stop bit
p=?????

Collapse -

batch file

by SyscoKid In reply to batch file

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.

Collapse -

batch file

by frec1 In reply to batch file

Poster rated this answer

Collapse -

batch file

by Don Christner In reply to batch file

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

Collapse -

batch file

by frec1 In reply to batch file

Poster rated this answer

Collapse -

batch file

by donthom In reply to batch file

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.

Collapse -

batch file

by frec1 In reply to batch file

Poster rated this answer

Collapse -

batch file

by frec1 In reply to batch file

This question was closed by the author

Back to Windows Forum
10 total posts (Page 1 of 1)  

Related Discussions

Related Forums