title: batch file that automatically fills software code in command prompt
body: <p>I am trying to write prompts to make a device do a certain action. The device has it's own syntax; however, the environment is in cmd through serial port connection. Is there a way I could write a batch file that could enter the text into the open program?</p>
  <p>I currently have the software opened waiting for input. I just need to figure out how to input into the open application from batch file. This is what I have now.</p>
  <blockquote>
  <p>start &quot;&quot; &quot;C:\Program Files (x86)\PuTTY\putty.exe&quot; -load &quot;laser&quot;</p>
  <p>logon odin              (code that I want to be inputted into software)</p>
  </blockquote>
  <p>Thanks for your help</p>