by Chris Donovan (4 Submissions)
Category: Files/File Controls/Input/Output
Difficulty: Advanced
Date Added: Wed 3rd February 2021
Rating: (3 Votes)
This code allows you to close the process(es) that keep a file locked, by simply specifying the locked file. This is similar to what Unlocker, ForceDel, WhoLockMe and UnlockIt do. I'm not taking credit for this code, because I downloaded it myself from a Chinese site and only removed the unnecessary code and created the sample project. All credits go to the original author. Have fun with it.
Download Unlock locked files (6 KB)