not really sure if this should be in programing...
Results 1 to 6 of 6

Thread: not really sure if this should be in programing...

  1. #1
    Member
    Join Date
    Dec 2001
    Posts
    75

    Question 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.?




    -Guerrilla Se7en

  2. #2
    Member
    Join Date
    Dec 2001
    Posts
    94
    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

  3. #3
    Senior since the 3 dot era
    Join Date
    Nov 2001
    Posts
    1,542
    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

  4. #4
    Member
    Join Date
    Dec 2001
    Posts
    94
    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.

  5. #5
    Member
    Join Date
    Mar 2002
    Posts
    52
    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...

  6. #6
    Member
    Join Date
    Dec 2001
    Posts
    75

    Talking

    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




    -Guerrilla Se7en

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •