Page 1 of 1

Sensing what key is pressed on the keyboard

Posted: 23 Jun 2010 23:13
by phillid
Hey. I want to be able to sense which key is being pressed on the keyboard during the running of my batch file. I'm in a situation where the 'set /p' wont be suitable. I know that QBASIC can do this, but can a batch file??

Cheers
Phillid

Re: Sensing what key is pressed on the keyboard

Posted: 24 Jun 2010 13:02
by aGerman
This isn't possible using native batch.
Have look to the "getch" tool on this web site.

Regards
aGerman

Re: Sensing what key is pressed on the keyboard

Posted: 24 Jun 2010 20:34
by phillid
Very nice software packacge - really easy to use

Thanks :D

phillid