Re: Script to close open files in file server
- From: RemyMaza <RemyMaza@xxxxxxxxx>
- Date: Wed, 21 May 2008 14:57:44 -0700 (PDT)
On May 20, 4:17 pm, Gustavo <Gust...@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote:
Hello scripting guys, I need to create a script to close all the files that
are open in my file server, because, when I run the script to delete files
that are older than 3 2 days, the script stops and generates an error and I
check this out and is because the files are open.
Any idea to make this script? thanks
Try that. This works for me on Win2K3 SP2
OPENFILES /Disconnect /ID * /O * /A *
.
- References:
- Script to close open files in file server
- From: Gustavo
- Script to close open files in file server
- Prev by Date: Re: Client name terminal server
- Next by Date: Re: Creating User in Windows Server 2003
- Previous by thread: Script to close open files in file server
- Next by thread: WMI Remote win32_process fails with Insufficient privilege
- Index(es):
Relevant Pages
|
|