Welcome!

By registering with us, you'll be able to discuss, share and private message with other members of our community.

SignUp Now!

inkey

  1. T

    Problems with INKEY

    I've noticed some strange behavior with INKEY. It doesn't respect the required/allowed characters after /K. It beeps when other characters are pressed, but it passes control to the next command in the batch file, with an EMPTY return variable. You really don't want that! I'm running it in...
  2. Alpengreis

    inkey counter anomaly?

    I use the following code within a btm - however it can be executed stand alone too of course: inkey /k"cq" /w5 /T "c": continue; "q": quit ("c" after 5 seconds): %%key Now, If I press 2 times an invalid key - let say "x" and the 2nd time exactly while counter switches from 1 to 0 - the...
  3. Alpengreis

    Fixed [v26.00.26] Crash after answering INKEY with <Ctrl>+C

    Hi TCC crashes here EACH time when I answer INKEY with <Crtl>+C ... My code: @echo off rem EJECTMEDIA with question for the drive letter :AskForDrive set askfordrive= echo. inkey /c /k"hijklmnopqrstuvwxyz9" Welches Laufwerk soll sicher ausgeworfen werden (i-z, 9 = Abbrechen)? %%askfordrive...
Back
Top