We have a third party software package that stores data files in a shared folder. I need to automatically close all of the open files at a particular time.
I want to use a batch file for this and came across the PSFile utility. Unfortunately, further to testing this whilst this indicates that it has closed the files, it actually doesn't - if you run PSFile immediately after running it with the -c flag it still shows the files as open.
Does anyone know of a fool proof method of closing all files on a specific network share automatically/via a batch file?
MVP wannabe. I don't work for Microsoft - I just use their products.