中国DOS联盟论坛

China DOS Union

-- Unite DOS · Advance DOS · Grow DOS --
Union site: www.cn-dos.net Forum site: www.cn-dos.net/forum
Guest | Log in | Register | Members | Search | China DOS Union
中国DOS联盟论坛
The time now is 2026-10-25 13:11
47,815 topics / 349,928 posts / today 0 new / 48,288 members
DOS疑难解答 & 问题讨论 (解答室) » [Solved] How to replace files protected by the system, thank you!
Printable Version  3,252 / 22
Floor16 quya Posted 2008-06-22 09:46
高级用户 Posts 172 Credits 558 From 江苏
I can say responsibly that the replace command is not useful for XP protected files.

The replace command is only useful for files that are not critical XP files but are in use.

I've already learned from that lesson.

As for whether the foreigner's writing is useful, I don't know. It's really too long, and at my level, I can't understand it. I'm getting old, my comprehension is not good, and I get dizzy after reading for a while.

[ Last edited by quya on 2008-6-22 at 09:51 AM ]
Floor17 lixin12345 Posted 2008-06-22 10:15
初级用户 Posts 13 Credits 27
Just now in this place:
http://www.diybl.com/course/hack/ha_h/2007616/56802.html
Found an article, friends who are interested can also go and have a look.

"Quietly replacing the system files in use on Win2000/XP"
Floor18 quya Posted 2008-06-22 11:10
高级用户 Posts 172 Credits 558 From 江苏
Originally posted by lixin12345 at 2008-6-22 10:15 AM:
Just now at this place:
http://www.diybl.com/course/hack/ha_h/2007616/56802.html
Found an article. Friends who are interested can also go and have a look.

"Quietly replacing the system files in use on Win2000/XP"


So I said that batch processing is mostly not possible. You see, the experts are using C language.
Floor19 Climbing Posted 2008-06-22 15:50
铂金会员 Posts 2,753 Credits 6,964 From 河北保定
Basically, it's not very likely to be achieved. Still, it's more convenient in the PE or pure DOS environment.
Floor20 fastslz Posted 2008-06-22 19:17
铂金会员 Posts 2,315 Credits 5,493 From 上海
You don't need to understand replacer.cmd! Actually, I don't understand it either, and there's no need to understand it. Just know how to use it. Briefly explain the usage (batch replacing system files, individual ones are not mentioned much).

First, create a file list list.txt to be replaced. Suppose you want to replace shell32.dll and winlogon.exe, then the content of list.txt is

Then run the command

OK.
It should be noted that the new shell32.dll and winlogon.exe files are placed in D:\Test (that is, the same directory as replacer.cmd)
Floor21 lixin12345 Posted 2008-06-22 22:03
初级用户 Posts 13 Credits 27
So moved, the test was successful, really thank you, completely solved my problem!!!!!
The expert is really an expert, solved the problem at the first try! Thank you again!!!!!
Floor22 Climbing Posted 2008-06-23 09:15
铂金会员 Posts 2,753 Credits 6,964 From 河北保定
Hehe, to be honest, when I first saw the long code of Replacer, I really felt quite headache, but after calming down and reading carefully, it turned out that the principle is very simple, as follows:

Under Windows, you can't replace a file that is in use, such as shell32.dll, but you can rename this file, because Windows will use the renamed file before restarting. Here you copy the file used for replacement with the original name, and after restarting, Windows will re-use the replaced file.
Floor23 quya Posted 2008-06-23 18:36
高级用户 Posts 172 Credits 558 From 江苏
Originally posted by Climbing at 2008-6-2期间9:15 AM:
Hehe, to be honest, when I first saw the long code of Replacer, I really felt quite headache. But after calming down and looking carefully, it turned out that the principle is very simple, as follows:

Under Windows, you can't...


I have a doubt. I once manually replaced by renaming, but it still didn't work after restarting. Maybe the renaming method isn't 100% applicable to all files.
Prev  1 2
[ Contact the Union admin team - 中国DOS联盟 - Standard version ]
Sponsored by ifanr Inc | © 2001–2023