1. Limited time only! Sign up for a free 30min personal tutor trial with Chegg Tutors
    Dismiss Notice
Dismiss Notice
Join Physics Forums Today!
The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

Homework Help: MS-DOS batch file

  1. Apr 3, 2009 #1

    Can any one help me please, I want to write a batch file in MS-DOS to:

    Communicate with the serial port, send data to the serial port from a specified file and for a respond to come back from the driver that first command being done and now ready for next line of data to be send it through the serial port to a stepper driver.

    Thanks for your help
  2. jcsd
  3. Apr 3, 2009 #2


    User Avatar
    Science Advisor
    Homework Helper

    That's going to be tricky to do with batch
    The normal tool for doing this sort of thing is expect http://expect.nist.gov/
Share this great discussion with others via Reddit, Google+, Twitter, or Facebook

Similar Threads for batch file
Read specific lines from a file using fortran90