Factor Mystic

13Apr/080

Mark for Deletion

This is a command line utility that marks a file or directory for deletion on the next reboot. It's useful to remove files that are in use, such as file identified by antispyware, etc (though most of the time those programs can handle this themselves). Note that this requires elevated privileges, because the API it calls (MoveFileEx) writes to HKEY_LOCAL_MACHINE. Also, this will bypass the Recycle Bin when deleting the file. One last caveat: if you specify a directory, it must be empty. Requires .Net 2.0

Usage: >mfdelc.exe "some annoying file.dll"

Download