Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

How to replace a file in use with replace

2025-01-30 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Development >

Share

Shulou(Shulou.com)06/03 Report--

This article mainly introduces "how to replace files in use with replace". In daily operation, I believe many people have doubts about how to replace files in use with replace. Xiaobian consulted all kinds of materials and sorted out simple and easy-to-use methods of operation. I hope it will be helpful to answer the doubts of "how to replace files in use with replace". Next, please follow the editor to study!

XP has an invincible command to replace the replace of files, even files that are in use. Very invincible. For example: create a directory under C:, c:\ aaa, then copy a mp3 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, type: replace c:\ a.mp3 c:\ aaa at the command prompt, and after a while, whether the song played has become another song.

It's great to replace system files with this command, and XP's system file protection doesn't work for it. You don't have to replace files in safe mode anymore.

Format

REPLACE [drive1:] [path2] filename [drive2:] [path3] [/ A] [/ P] [/ R] [/ W]

REPLACE [drive1:] [path2] filename [drive2:] [path3] [/ P] [/ R] [/ S] [/ W]

[drive1:] [path2] filename specifies the source file.

[drive2:] [path3] specifies the

Catalogue

/ An add the new file to the target directory. Cannot be used with / S or / U command line switches. / P you will be prompted for confirmation before replacing the file or adding the source file. / R replaces read-only files and unprotected files. / S replaces the files of all subdirectories in the target directory. Cannot be used with the / A command option.

/ W wait until you insert the disk before running.

/ U only replaces or updates files that are older than the source file. Cannot be used with the / A command line switch.

Ps: it would be dangerous if viruses or hackers use the same command.

The code is as follows:

REPLACE [drive1:] [path2] filename [drive2:] [path3] [/ A] [/ P] [/ R] [/ W]

REPLACE [drive1:] [path2] filename [drive2:] [path3] [/ P] [/ R] [/ S] [/ W] [/ U

[drive1:] [path2] filename specifies the source file.

[drive2:] [path3] specifies the directory where you want to replace the file.

/ An add the new file to the target directory. Cannot open with / S or / U command line

Close with the use of.

/ P you will be prompted for confirmation before replacing the file or adding the source file.

/ R replaces read-only files and unprotected files.

/ S replaces the files of all subdirectories in the target directory. Cannot be associated with / A command

Switch is used in combination.

/ W wait until you insert the disk before running.

/ U only replaces or updates files that are older than the source file. Cannot be associated with / A

Command line switches are used together.

At this point, the study on "how to replace files in use with replace" is over. I hope to be able to solve your doubts. The collocation of theory and practice can better help you learn, go and try it! If you want to continue to learn more related knowledge, please continue to follow the website, the editor will continue to work hard to bring you more practical articles!

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Development

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report