XP has a command to delete files that cannot be deleted. This command is replace. You can replace a file that is in use.
For example, to create a directory under c: \, c: \ aaa
Copy an MP3 file to c: \ AAA and name it c: \ AAA \ a.mp3.
Then copy another song to c: \ a.mp3.
Then play c: \ AAA \ a.mp3 with Media Player
Enter: replace c: \ a.mp3 c: \ AAA at the command prompt
After a while, whether the Playing Song has changed to another one.
It's really nice to use this command to replace system files, and XP's system file protection is also ineffective.
You no longer need to replace files in safe mode.
Format
Replace [drive1:] [path1] filename [drive2:] [path2] [/A] [/P]
[/W]
Replace [drive1:] [path1] filename [drive2:] [path2] [/P]
[/S] [/W]
[Drive1:] [path1] filename specifies the source file.
[Drive2:] [path2] specifies the directory of the file to be replaced.
/A adds the new file to the target directory. It cannot be used with the/s or/u command line switch.
You will be prompted to confirm before/P replaces the file or adds the source file.
/R replace read-only and unprotected files.
/S replaces all the files in the subdirectories in the target directory. It cannot be used with the/a command option.
/W.
/U will only replace or update files earlier than the source file date, and cannot be used with/a command line switch