Hi!
I am trying to create a batch file, that would start a external dos application and then feed the application a few "ENTER" keystrokes, but cant get it working. The application dosent want to take the keystrokes. Any ideas? :confused:
Printable View
Hi!
I am trying to create a batch file, that would start a external dos application and then feed the application a few "ENTER" keystrokes, but cant get it working. The application dosent want to take the keystrokes. Any ideas? :confused:
Use something else?
Getting almost anything useful done in a batch file always seems like far more effort than it ought to.
How about posting what you tried?
I had to use a batch because, a program that i am using needs to read a patch file in. But, i think i got it working already. Tested many different programs, that are made for just this purpose. Non of the newest programs worked, but a simple old one did the job just fine. The program name is Keypress.com. I put the next code inside a batch file and it worked nicely:
Keypress /R (R stands for ENTER)
program name