batch: discover user who has accessed file
Hi,
i'm thinking about a script.
I' want using a dir/s (output to a file) in a file server having a
list with path of (ex.) mp3 files.
With a for /f e want to now who has accessed for the last time to
these files.
I'll send an email to this user (i get his email by using dsget and
dsquery) asking him to delete this file.
At 7 pm i'll delete this files if the user hasn't delete yet.
My question is.. how can i know who has accessed to these files?I need
his username
Someone can me?
Any on this would be very greatly appreciated. Thanks guys...
|