Send commands to a Batch with user input

3
  

Context:
  I have a Batch that I can not change , its function is to list some files in a specific directory, and after it lists the files it is waiting for some user command.

     

Problem:
  I would like to automate this process, but without touching the original batch, send this command that the batch is waiting via another batch with 1 in 1 loop minute.

Looking at some forums, I found some people suggesting the use of the pipe to send the commands, but it does not work when the batch waits for user input.

I would like to know if anyone has any idea to send the command at the time the batch waits for the entry?

Exemplo do batch:    
Arquivos parados em Download    
Não há arquivos parados em Download

COMANDO :
    
asked by anonymous 24.08.2015 / 17:33

0 answers