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.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.
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 :