中国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-08-11 04:43
47,811 topics / 349,897 posts / today 0 new / 48,256 members
DOS批处理 & 脚本技术(批处理室) » [Share]Quickly Modify the Text of the "Start" Button
Printable Version  2,711 / 15
Floor1 tireless Posted 2008-09-10 03:08
银牌会员 Posts 1,122 Credits 2,025


The code in the .rc part was written by HAT, with some help from slore. Thanks!

Test Environment: Windows XP SP2
Tools Used: ResHacker.exeGoRC.exe
Principle: ResHacker.exe modifies and replaces explorer.exe from the command line
Execution Process: 1. ResHacker.exe extracts the 37th StringTable of explorer.exe as a .rc file
2. The user enters new button text (i.e., modifies the .rc file)
3. GoRC.exe compiles the .rc into a .res file
4. End the explorer.exe process, rename explorer.exe in dllcache to have a .backup suffix
5. ResHacker.exe uses the .res file to overwrite and modify explorer.exe
6. Start explorer
Tip: If you don't enter text and just press Enter, you can remove the "Start" button Screenshot

Modify.bat


Restore.bat


Download Link: http://upload.cn-dos.net/img/780.rar
Download Link 2: http://www.brsbox.com/filebox/down/fc/6870f67f2ec08e5a8ab85283b314d7d9

-------------------------------------------------------------------------------------------------------
The above modification method directly modifies the system's explorer.exe. There is another modification method - load another directory's explorer.exe and modify the shell value in the registry to point to this explorer.exe. Jump to Floor 14

[ Last edited by tireless on 2008-9-21 at 08:49 PM ]
Floor2 metoo Posted 2008-09-10 06:58
初级用户 Posts 93 Credits 195
ResHacker.exe has a command-line interface, oh - -! Just found out
Floor3 zts59 Posted 2008-09-10 09:33
中级用户 Posts 104 Credits 387
Not bad, modifying resources can also be done via command line, excellent
Floor4 HAT Posted 2008-09-10 10:23
版主 Posts 5,017 Credits 9,023
Learning
Floor5 terrytong Posted 2008-09-10 11:53
中级用户 Posts 115 Credits 240
After running it, Kingsoft PowerWord has an error and can't be opened at all.
Floor6 tireless Posted 2008-09-10 12:14
银牌会员 Posts 1,122 Credits 2,025
Originally posted by terrytong at 2008-9-9 03:53 PM:
After running it, Kingsoft Ciba (Kingsoft Dictionary) has an error and can't be opened at all.

It may be due to restarting explorer.exe.
Floor7 slore Posted 2008-09-10 12:32
铂金会员 Posts 2,478 Credits 5,212
It is still suggested to modify the shell by changing the registry... It is convenient to restore and does not replace the original system files.
Floor8 radem Posted 2008-09-10 13:21
高级用户 Posts 383 Credits 691
Support original work

modify startbutton text.rar
Floor9 ggaking Posted 2008-09-11 23:10
新手上路 Posts 8 Credits 19
I see your last restored batch processing, it seems that you just deleted that registry, but didn't restore it to the original value! This will cause an error when restarting!
Floor10 tireless Posted 2008-09-11 23:27
银牌会员 Posts 1,122 Credits 2,025
Originally posted by ggaking at 2008-9-11 03:10 AM:
Seeing your last restored batch file, it seems that you just deleted that registry but didn't restore it to the original value. This will cause an error when restarting!

I don't remember if there was originally that "shell" value. I tried it and there's no error.
Floor11 slore Posted 2008-09-12 23:02
铂金会员 Posts 2,478 Credits 5,212
By default, it's said that explorer.exe can't be deleted
Floor12 coolrain Posted 2008-09-14 11:19
新手上路 Posts 4 Credits 8
Floor13 coolrain Posted 2008-09-14 11:19
新手上路 Posts 4 Credits 8
Okay, forgot to mention it.
Floor14 tireless Posted 2008-09-22 16:47
银牌会员 Posts 1,122 Credits 2,025
Modify .bat


Restore .bat


Download address: http://upload.cn-dos.net/img/781.rar
Download address 2: http://www.brsbox.com/filebox/down/fc/be99982f13243d6129bbffe4888e1e8a

[ Last edited by tireless on 2008-9-21 at 08:48 PM ]
Floor15 moniuming Posted 2008-09-24 17:30
银牌会员 Posts 574 Credits 1,335 From 广西
Good stuff, keep it up!!!
1 2  Next
[ Contact the Union admin team - 中国DOS联盟 - Standard version ]
Sponsored by ifanr Inc | © 2001–2023