Modify

Opened 18 years ago

Closed 18 years ago

Last modified 18 years ago

#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)

comment:1 by Valik, 18 years ago

Resolution: Rejected
Status: newclosed

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

comment:2 by TicketCleanup, 18 years ago

Milestone: 3.2.11.8
Version: 3.2.10.0

Automatic ticket cleanup.

in reply to:  1 comment:3 by anonymous, 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.

Modify Ticket

Action
as closed The ticket will remain with no owner.

Add Comment


E-mail address and name can be saved in the Preferences .
 
Note: See TracTickets for help on using tickets.