PHWinfo banniere

Titres
PORTAIL ANNUAIRE ARTICLES COMPARATEUR HÉBERGEURS DEVIS FORUMS RÉDUCTEUR D'URL
Précédent   PHWinfo > Forums Hébergement > Forum Hébergement serveur > ms..win.server.scripting > batch: discover user who has accessed file
S'inscrire FAQ Membres Recherche Messages du jour Marquer les forums comme lus
batch: discover user who has accessed file

Réponse
 
LinkBack Outils de la discussion
Vieux 01/09/2007, 09h11   #1
danieledv
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut 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...

  Réponse avec citation
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
Réponse


Outils de la discussion

Règles de messages
Vous ne pouvez pas créer de nouvelles discussions
Vous ne pouvez pas envoyer des réponses
Vous ne pouvez pas envoyer des pièces jointes
Vous ne pouvez pas modifier vos messages

Les balises BB sont activées : oui
Les smileys sont activés : oui
La balise [IMG] est activée : oui
Le code HTML peut être employé : non
Trackbacks are oui
Pingbacks are oui
Refbacks are oui


Fuseau horaire GMT +1. Il est actuellement 03h28.


Édité par : vBulletin® version 3.7.2
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0 RC5 Tous droits réservés.
Version française #16 par l'association vBulletin francophone
PHWinfo est un site Éducation Sans Frontières
Ad Management by RedTyger
©Tous droits réservés par les parties respectives
Page generated in 0,08540 seconds with 10 queries