Whenever you try to delete a file that is being used at the time, you will get this error in Windows XP: “Cannot delete [file name]: It is being used by another person or program. Close any programs that might be using the file and try again.” Below is a screenshot of “Error Deleting File or Folder”.
Usually closing the folder or file you are using and then retrying to delete the file or folder works. But some files, for instance from Desktop, won’t delete no matter what you try. They will keep giving you the error telling the file or folder is being used by another person or program.
The solution is the Remove on Reboot Shell Extension which is a straightforward shell extension that will automatically remove the files you select after a reboot.
Simply download the application and install it. Then just right-click any file you want to delete, select the option “Delete on Reboot” and the file will automatically be deleted on the next system reboot.