@echo off
color 2f
title 系统文件修改
echo.
echo.
echo      正在解压文件...
for %%i in (
access.cp_
accwiz.ex_
appwiz.cp_
batmeter.dl_
batt.dl_
cabview.dl_
calc.ex_
cards.dl_
charmap.ex_
cleanmgr.ex_
cmd.ex_
cmdial32.dl_
conime.ex_
credui.dl_
ctfmon.ex_
desk.cp_
devmgr.dl_
explorer.ex_
fontext.dl_
freecell.ex_
hdwwiz.cp_
helpctr.ex_
hh.ex_
hnetwiz.dl_
hotplug.dl_
iexpress.ex_
input.dl_
intl.cp_
irprops.cp_
joy.cp_
keymgr.dl_
magnify.ex_
main.cp_
mmc.ex_
mmsys.cp_
moricons.dl_
moviemk.ex_
msconfig.ex_
msctf.dl_
msgina.dl_
mshearts.ex_
msiexec.ex_
msimn.ex_
msinfo32.ex_
mspaint.ex_
mstask.dl_
mycomput.dl_
mydocs.dl_
narrator.ex_
ncpa.cp_
netid.dl_
netplwiz.dl_
netshell.dl_
newdev.dl_
notepad.ex_
nusrmgr.cp_
occache.dl_
odbccp32.cp_
osk.ex_
photowiz.dl_
powercfg.cp_
printui.dl_
rasdlg.dl_
regedit.ex_
regedt32.ex_
sapi.cp_
setupapi.dl_
shell32.dl_
shimgvw.dl_
sndrec32.ex_
sndvol32.ex_
sol.ex_
spider.ex_
sprt0804.dl_
stobject.dl_
syncapp.ex_
syncui.dl_
sysdm.cp_
sysocmgr.ex_
tapiui.dl_
telephon.cp_
themeui.dl_
timedate.cp_
wab.ex_
wiaacmgr.ex_
wiashext.dl_
winmine.ex_
wmplayer.ex_
wordpad.ex_
write.ex_
wscript.ex_
wscui.cp_
wuapi.dl_
wuauclt1.ex_
wuaucpl.cp_
wupdmgr.ex_
) do (
expand -r %%i >nul
del %%i
)

ResFiles\reshacker.exe -delete sprt0804.dll ,sprt0804.dll ,Avi ,,
ResFiles\reshacker.exe -delete sprt0804.dll ,sprt0804.dll ,Bitmap ,,
ResFiles\reshacker.exe -delete sprt0804.dll ,sprt0804.dll ,Icongroup ,,

for %%i in (
access.cpl
accwiz.exe
appwiz.cpl
batmeter.dll
batt.dll
cabview.dll
calc.exe
cards.dll
charmap.exe
cleanmgr.exe
cmd.exe
cmdial32.dll
conime.exe
credui.dll
ctfmon.exe
desk.cpl
devmgr.dll
explorer.exe
fontext.dll
freecell.exe
hdwwiz.cpl
helpctr.exe
hh.exe
hnetwiz.dll
hotplug.dll
iexpress.exe
input.dll
intl.cpl
irprops.cpl
joy.cpl
keymgr.dll
magnify.exe
main.cpl
mmc.exe
mmsys.cpl
moricons.dll
moviemk.exe
msconfig.exe
msctf.dll
msgina.dll
mshearts.exe
msiexec.exe
msimn.exe
msinfo32.exe
mspaint.exe
mstask.dll
mycomput.dll
mydocs.dll
narrator.exe
ncpa.cpl
netid.dll
netplwiz.dll
netshell.dll
newdev.dll
notepad.exe
nusrmgr.cpl
occache.dll
odbccp32.cpl
osk.exe
photowiz.dll
powercfg.cpl
printui.dll
rasdlg.dll
regedit.exe
regedt32.exe
sapi.cpl
setupapi.dll
shell32.dll
shimgvw.dll
sndrec32.exe
sndvol32.exe
sol.exe
spider.exe
sprt0804.dll
stobject.dll
syncapp.exe
syncui.dll
sysdm.cpl
sysocmgr.exe
tapiui.dll
telephon.cpl
themeui.dll
timedate.cpl
wab.exe
wiaacmgr.exe
wiashext.dll
winmine.exe
wmplayer.exe
wordpad.exe
write.exe
wscript.exe
wscui.cpl
wuapi.dll
wuauclt1.exe
wuaucpl.cpl
wupdmgr.exe
) do (
echo.
echo      正在修改文件 %%i
ResFiles\reshacker.exe -addoverwrite %%i ,%%i ,ResFiles\%%i.res ,,,
makecab.exe /D CompressionType=LZX /D CompressionMemory=21 /D Cabinet=ON /D Compress=ON %%i >nul
del %%i
)

if exist svcpack\wmp11.ca_ (
echo.
echo      正在修改文件 wmploc.dll
expand -r wmploc.dl_>nul
del wmploc.dl_
ResFiles\reshacker.exe -addoverwrite wmploc.dll ,wmploc.dll ,ResFiles\wmploc.dll.res ,,,
makecab.exe /D CompressionType=LZX /D CompressionMemory=21 /D Cabinet=ON /D Compress=ON wmploc.dll >nul
del wmploc.dll
)

rd /s /q .\ResFiles
del %0