Replace the files in use with replace

Source: Internet
Author: User

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.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.