This is a registry way of deleting files on booting. Is there an API equivalent for this. And does it work with wildcards ?

PendingFileRenameOperations
Posted on 2006-03-02 10:25:46 by skywalker
MoveFileEx with MOVEFILE_DELAY_UNTIL_REBOOT flag. But it ends up adding the Registry value you mentioned anyway.
Posted on 2006-03-02 17:45:00 by Morris