4
Context:
I have a Batch I can’t 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, IE, send that commando that the batch is waiting for via another 1-minute loop batch.
Looking in some forums, I found some people suggesting the use of pipe to send commands, but it doesn’t work at the time the batch waits for user input.
I wonder if anyone has any idea of sending the command at the time the batch waits for input?
Exemplo do batch:
Arquivos parados em Download
Não há arquivos parados em Download
COMANDO :
'Cause you don’t create a bat that does all this ?
– SachaDee
Why can’t you modify the batch that awaits user input? My idea is more or less like this the first batch sees a file every 30 seconds to see if there is the user’s yes or no response and that file is changed by the second batch. Then in 30 seconds the first batch will have a response.
– Ricardo Bohner