Creating a simple batch simulating hitting enter key
Moderator: DosItHelp
Creating a simple batch simulating hitting enter key
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.
Re: Creating a simple batch simulating hitting enter key
Or......which runs the secondary batch in the same cmd session so, for example, it can pass environment variables back to the caller.
Liviu
Code: Select all
<nul call other.bat
Liviu