Skip to content

Feature request: delete used files on reboot #129

Open
@DmitriyYukhanov

Description

Hey, now, if I'm trying to remove some leftovers which are in use and can't be killed (e.g. some libraries could be loaded within explorer.exe) - I just see a standard Windows dialog about folder or file can't be removed.

Would be nice to put files which can't be deleted (running processes or loaded dll libraries) to the delete-on-reboot queue.

The registry key HKLM\System\CurrentControlSet\Control\Session Manager\PendingFileRenameOperations is used for that.

And MoveFile API too.
Here is a C# example:
https://stackoverflow.com/questions/6077869/movefile-function-in-c-sharp-delete-file-after-reboot

Metadata

Assignees

No one assigned

    Labels

    enhancementlow priorityUnlikely to be completed in near future, needs substantial work

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions