exe auditing

  • Thread starter Thread starter Ben Dunning
  • Start date Start date
B

Ben Dunning

OK I am not sure if this is possible but I hope someone
can pehaps insight me of a possible solution. Here is my
proble: I have a local PC that a few select users will log
on to. They all have a shortcut on the desktop to a
program(.exe/.bat) file. When the user exectes the file
can we capture their username and the current date and
time to a log file??

Any insight would be greatly appreciated.
Ben
 
as long as the ".bat file" contains a line something to the effect of

echo %username%,%date%,%time% >> Logfile.txt

the "logfile.txt" will now contain the info desired one line per user
per time the bat file is run
 
Back
Top