XP has an invincible command to replace the replace of a file, and can be replaced even with a file in use. Very invincible. For example, create a directory C: \ aaa under c:, copy an mp3 file to c: aaa and name it c: \ aaa \ a.mp3, then copy another song to C: \ a.mp3, and 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] [/R] [/W]
REPLACE [drive1:] [path1] filename [drive2:] [path2] [/P] [/R] [/S] [/W]
[Drive1:] [path1] filename specifies the source file.
[Drive2:] [path2] specifies
Directory
/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 subdirectories in the target directory. It cannot be used with the/A command option.
/W.
/U only replaces or updates files earlier than the source file date. It cannot be used with the/A command line switch.
Ps: If a virus or hacker uses this command, it is dangerous.
Copy codeThe Code is as follows: REPLACE [drive1:] [path1] filename [drive2:] [path2] [/A] [/P] [/R] [/W]
REPLACE [drive1:] [path1] filename [drive2:] [path2] [/P] [/R] [/S] [/W] [/U
[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. Cannot start with/S or/U command
.
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 subdirectories in the target directory. Cannot match the/A command
Switch.
/W.
/U only replaces or updates files earlier than the source file date. Cannot match/
Command line switch.