Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

H E L P ! Close Networked Open Files With a Batch Files H E L P !

0 views
Skip to first unread message

Luc ST-Pierre

unread,
Feb 11, 2000, 3:00:00 AM2/11/00
to
____________________________________________________________________________
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.

0 new messages