force disconnection on a shared folder
Posted on 2007-04-09
Hi...we need to update numerous of files under a shared folder in a windows 2000 server, since these files are accessed by an application which is running on the client side, that causes the updating process failed due to some of the files are locked.
I know net file or net session can be used to force the disconnection. but how about automating the process by creating the VBScript job? any sample available?
Alternatlively, would stop the file share do the same work on the fly?