title: PuTTY command line automate serial commands from file
body: <p>I am trying to connect to a serial port and send a series of commands from a file.</p>
  
  <p>Firstly I have mananged to connect via the following:</p>
  
  <blockquote>
    <p>PuTTY.exe -serial COM3 -sercfg 57600,8,n,1,N</p>
  </blockquote>
  
  <p>E.g. I have a file called commands.txt with a series of serial commands I wished to be sent.</p>
  
  <p>I tried the following however it failed to work:</p>
  
  <blockquote>
    <p>PuTTY.exe -serial COM3 -sercfg 57600,8,n,1,N -m commands.txt</p>
  </blockquote>
  
  <p>Any help is greatly appreciated.</p>