Try the script below; it will open the input in a separate window and kill this window if there's no input after the timeout.
You can add your own code in the marked sections, and you can of course customize the appearence of the input window (InputHeight, InputWidth, InputColor; enter "color /?" to get a list of the possible colors).
Main Topics
Browse All Topics





by: t0t0Posted on 2009-04-22 at 02:39:50ID: 24202777
So, you don't want to use SET /P and you don't want to use CHOICE either.... Hmmm.....
I thought CHOICE had a /T switch allowing it to pause for a given time and should there be no user input then CHOICE could be set to accept a default value.