____________________________________________________________________________
Del \\computer name\share\* /s /Q Rem :
remove all files
RMDIR \\computer name\share\ /S /Q Rem: remove
all directories
XCACLS \\computer name\share\* /T /C /G EVERYONE:F /Y Rem: if no
rights, make user "Everyone" full control
Del \\computer name\share\* /s /Q Rem :
remove all last files
RMDIR \\computer name\share\ /S /Q
PAUSE
____________________________________________________________________________
I'm here now, if a files is open by a user I can't erase it....
I try with net files but this command work with all the open files,
the need is only for a particular share on a Server not all open files
possible...
then batch is to be schedules on a nt4 Workstation or NT Server.
If someone know a solution please send it to me.
Thanks to all !
Luc.