Adding delays and carriage returns?
Posted: 03 Dec 2018 07:38
Hello,
I run a DOS utility at my work that requires a password and properties file location be entered each time you run the program.
After executing the program there is a brief 2 second delay, then you are prompted for a password, then another 2 second delay, and then you are prompted to enter a path to the properties files.
Is there a way to run a batch file that pauses after execution, enters text and presses enter, then another pause, text, and enter?
I've searched a few forums and haven't found anything that worked, but admit to having very little knowledge of batch files.
Any help would be appreciated. Thanks!
I run a DOS utility at my work that requires a password and properties file location be entered each time you run the program.
After executing the program there is a brief 2 second delay, then you are prompted for a password, then another 2 second delay, and then you are prompted to enter a path to the properties files.
Is there a way to run a batch file that pauses after execution, enters text and presses enter, then another pause, text, and enter?
I've searched a few forums and haven't found anything that worked, but admit to having very little knowledge of batch files.
Any help would be appreciated. Thanks!