- May
- 239
- 2
What is the best way to achieve the effect of the PAUSE command but with a timeout?
That is, after some specified time, PAUSE behaves as if someone had simply pressed a button.
The best I came up with myself was this:
I used End key as that should have no bad side-effects if the user presses a key himself and the key is added to the TCC command line instead of stopping the PAUSE.
Might there be some built-in commands to get this same effect?
That is, after some specified time, PAUSE behaves as if someone had simply pressed a button.
The best I came up with myself was this:
Code:
keystack /W50 End
pause Press a key to continue or Ctrl-C to cancel.....
I used End key as that should have no bad side-effects if the user presses a key himself and the key is added to the TCC command line instead of stopping the PAUSE.
Might there be some built-in commands to get this same effect?