Afficher un message
Vieux 02/09/2007, 16h38   #2
ThatsIT.net.au
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: batch: discover user who has accessed file

Not sure this can be done from WMI, but index server can tell you the last
person to edit the file.
DocLastAuthor

create a index catalog that monitors the folder, you can then search the
index folder by script and find a number of things.


this page will give you a overview
http://www.windowswebhost.com/ixqlang.htm

"danieledv" <danieledv@gmail.com> wrote in message
news:1188634281.623680.17310@k79g2000hse.googlegro ups.com...
> 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...
>


  Réponse avec citation
 
Page generated in 0,05466 seconds with 9 queries