7

16 Lines of code.
Nearly 600 words of documentation.

Comments
  • 1
    That's some damn efficent code then
  • 1
    @birkenspanner no not really.. :D

    @nik123 it's not public but I can tell for what it is for.

    Our boss wants to log all users in our company, when they start their computer and log in, lock, unlock or log off...
    My superior wants to use a key logger to fetch the key combinations, but I don't like the idea to use such a software for every user.
    So I created a batch script (16 lines) that is fired up with a parameter to write into a log file. The script is started by a group policy for login and logoff and by task scheduler for lock and unlock.

    A big part in the documentation is about to get rid of it...

    I don't like software for something like that, but our boss wants it so. :/
  • 0
    @nik123 that's right, but not all stay (nearly) the whole day on a machine. So it's not very effective to track all the people.
Add Comment