title: Send commands to another Batch with User Input
body: <p>I have a Batch that its role is list some files in some specific folder and after that it lists the files, it waits for user input. My problem is that I like to automize this process without modify the original batch, in other words send the command to the batch that is waiting using another batch with a minute loop. Searching in some other topics I've found some people sugesting the use of "pipe" to send the commands (Ex: echo STOP | test.bat) but it doesn't work because my batch is waiting for user input. Do you have some ideia to send commands in the time that batch waits for user input?</p>
  
  <pre><code>Example:
  
  Files stopped in download folder:
  
  test.txt
  
  COMMAND:
  </code></pre>