home bbs files messages ]

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,333 of 68,980   
   JJ to Tom Del Rosso   
   Re: Keyboard input without pause   
   22 Oct 18 18:00:26   
   
   From: jj4public@vfemail.net   
      
   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. So, my guess is a problem on the exit code part. i.e. passing the   
   program exit code from DOS system to Windows system.   
      
   --- 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