Im very new to this and am probably in over my head but i had an idea to make part of my job easier so i wanted to try.
Im wanting to put together a batch and input file to send commands to a serial device. mode com1 baud=9600 parity=n data=8 stop=1 copy in.txt com1: and get a response from the device in a text file. copy com1: out.txt
in.txt contains the commands to send to the device. i have searched and searched and have ended up here many times as i think this is were i found my examples from. problem is it works then doesnt work. any help in the right direction is greatly appreciated. the codes being sent are for example through hyperterminal are ctrl+A200. Per my research a ctrl+A a square. again it works and then id doesnt and im not completely understanding why. think it has something to do with formating of the text file. also the out.txt doesnt always contain the response.