-
March 18th, 2002, 04:51 PM
#1
Member
not really sure if this should be in programing...
This prob. shouldn't be in programing, but i didn't know where else to put it...
what's the option in CHOICE to make the batch file stall for X # of sec.?
-
March 18th, 2002, 05:30 PM
#2
Member
theres the PAUSE command but it'll wait for user keypress...
otherwise why dont you code a program that will do the 'wait'. and put that in the autoexec.
hope this helps
-
March 18th, 2002, 05:36 PM
#3
Here's a ASM code to make a prog that does the same as pause except it don't give the msg "Stike a key when ready"
a 100
mov ah,8
int 21
cmp al,0
jnz 10a
int 21
mov ah,4c
int 21
r cx
:e
n wait.com
w
q
-
March 18th, 2002, 05:42 PM
#4
Member
well heres' more on the pause with choice thing
CHOICE Choose option /C:ABC /T:A,10
Displays the text "Choose option [A,B,C]" and if within 10 secs no key is pressed it auto'ly. choses A.
-
March 18th, 2002, 05:59 PM
#5
Member
The Win2k Resource kit has an .exe called WaitFor. The syntax would be:
WaitFor.exe -t (Timeout)
where (Timeout) is the number of seconds to wait.
THis could be used in a batch file, logon script, etc...
-
March 18th, 2002, 09:15 PM
#6
Member
Originally posted here by ihsir
well heres' more on the pause with choice thing
CHOICE Choose option /C:ABC /T:A,10
Displays the text "Choose option [A,B,C]" and if within 10 secs no key is pressed it auto'ly. choses A.
thanks that's what it was
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
|