#210 closed Feature Request (Rejected)
File Unlocker
| Reported by: | Larry | Owned by: | |
|---|---|---|---|
| Milestone: | Component: | AutoIt | |
| Version: | Severity: | ||
| Keywords: | Cc: |
Description
Add functionality to ProcessClose() or some related function... perhaps adding a function... that will close handles of any processes/threads that are keeping a file locked. Perhaps a flag on FileDelete that forces a file to be unlocked before deleting... But, I rather have a function just unlock and keep deleting seperate.
Attachments (0)
Change History (3)
follow-up: 3 comment:1 by , 18 years ago
| Resolution: | → Rejected |
|---|---|
| Status: | new → closed |
comment:3 by , 18 years ago
Replying to Valik:
This is neither trivial to implement, nor is it safe. I think you would be better off using Handle.exe from Sysinternals for this.
The code I found seems simple enough. Unsafe I understand. I have found this functionality crucial in some software deployment and virus cleanup scenarios.

This is neither trivial to implement, nor is it safe. I think you would be better off using Handle.exe from Sysinternals for this.