delocking file

Discussion forum for all Windows batch related topics.

Moderator: DosItHelp

Post Reply
Message
Author
roulitto75
Posts: 1
Joined: 03 Jan 2012 08:04

delocking file

#1 Post by roulitto75 » 03 Jan 2012 08:12

Hello everybody,

I have a script who is renaming a file in a sharing folder on a server.
I don't have acces to this server
I only have acces to the sharing folder.

The thing is that if the file is open by someone, my script can't rename it because it's open by someone.

So I'd like to know if I can force the closing of the file to include it in my script?

Regards.

Post Reply