Discussion forum for all Windows batch related topics.
3 posts • Page 1 of 1
I am trying to write a simple batch program to automate me hitting the enter key. There is a program I am running that requires me to start 1 batch program that doesn't require any user input. Then I start another batch program that requires me to hit the enter key once. Then I start another batch program that requires me to hit the enter key twice. Is there a way to write 1 batch program to automate this? Thank you.
...which runs the secondary batch in the same cmd session so, for example, it can pass environment variables back to the caller.
Code: Select all
<nul call other.bat