Forums before death by AOL, social media and spammers... "We can't have nice things"
|    alt.msdos.batch.nt    |    Fun with Windows NT batch files    |    68,980 messages    |
[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]
|    Message 67,332 of 68,980    |
|    Tom Del Rosso to All    |
|    Re: Keyboard input without pause    |
|    22 Oct 18 10:58:38    |
      From: fizzbintuesday@that-google-mail-domain.com              JJ wrote:       > On Sun, 21 Oct 2018 11:31:17 -0400, Tom Del Rosso wrote:       >> JJ wrote:       >>> On Sun, 21 Oct 2018 16:43:20 +0700, JJ wrote:       >>>>       >>>> Try below tool. It's a DEBUG script which will create KEYSTATE.COM.       >>>> The tool will report the state of the SHIFT, CRTL, and ALT keys in       >>>> its exit code (errorlevel).       >>>       >>> Sorry, forgot to mention that the tool is a DOS program. It will not       >>> work on 64-bit Windows without any emulator/virtualizator software       >>> such as DosBox or VirtualBox.       >>       >> Yeah, I wrote one like that too, but it didn't even work in XP. DOS       >> utils run in XP but the keyboard flags in the BIOS data area probably       >> never worked in any version of NT.       >       > Hmm... indeed.       >       > However, if I run the batch under COMMAND.COM rather than CMD.EXE, it       > works fine.              Oh that's interesting. That would almost provide a solution if only       EXIT from COMMAND.COM could pass a number.                     > So, my guess is a problem on the exit code part. i.e.       > passing the program exit code from DOS system to Windows system.              No, I have other purely DOS utilities that return error codes in XP.              --- SoupGate-Win32 v1.05        * Origin: you cannot sedate... all the things you hate (1:229/2)    |
[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]
(c) 1994, bbs@darkrealms.ca