This page was exported from phaq
[ http://phaq.phunsites.net ] Export date: Sat Apr 27 0:48:44 2024 / +0000 GMT |
I just trapped myself while hacking up a batch file. Used to shell scripting I wanted to add a delay to the batch using "sleep". Dough! Bad Idea! Bad command or filename. Smash your head here to continue {(x)}! So I winded up my memories from stoneage. Wasn't there the choice command!? Yeah, after some lurking around with the '/?' feature I had stuck it together: choice /c 1 /d 1 /t 1 > nul While
Of course this may be bothersome to type if you use it often, so a "batch function" may be better, especially when you need other batch tricks to get around DOS command limitations (lazy man's approach: create a second batch file for it).
|
Powered by [ Universal Post Manager ] plugin. HTML saving format developed by gVectors Team www.gVectors.com |