-
Run in background
Is there a way to make a DOS program run in the background that just gets the keys that have been pushed. Like a key-logger. Can you do this in DOS. How would I do this. If it's to complicated to explain just tell me and i'll look around. But can it be done? I want the program not to be shown on the screen at all and not noticed by anything even when you hit ctr-alt-del. Completely invisable!
-
Yes, of course. For e.g. i have seen a TSR (terminate and stay resident) program, which brings up a Calender on pressing <Ctrl+C> and a notebook on pressing <Ctrl+N> in DOS...
The mentioned program must be monitoring all the key-presses..and it performs these actions on the <Ctrl+C> and <Ctrl+N>
But, programming such a thing would require low-level programming...which should be complex and difficult..
-
-
It's more than 2 yrs since I programmed in DOS, but I remember of a function keep() (If I'm not wrong), which would place the program in memory, though the control would be passed on to the command shell. You can do a lot of naughty and important stuff with this, but ofcourse, everything comes with a price, it's not as simple to program a TSR.
-
Thank you for all your help.:D