下面我們就來寫個批處理文件.
(1)首先打開記事本,,為免輸錯請直接復制以下內容:
@echo off
If {%1}=={} @echo Syntax: EnergyBlue DownloadFolder&goto :EOF
if not exist %1 @echo EnergyBlue %1 not found.&goto :EOF
setlocal
set xfold=%~1#
set xfold=%xfold:\#=%
set xfold=%xfold:#=%
pushd "%xfold%"
if not exist WindowsXP-TabletPC-EnergyBlueTheme-x86-ENU.exe @echo WindowsXP-TabletPC-EnergyBlueTheme-x86-ENU.exe does NOT exist in "%xfold%"&endlocal&goto :EOF
WindowsXP-TabletPC-EnergyBlueTheme-x86-ENU.exe /U /X:"%TEMP%"
popd
MD %SystemRoot%\resources\themes\royale\shell\homestead
MD %SystemRoot%\resources\themes\royale\shell\metallic
MD %SystemRoot%\resources\themes\royale\shell\normalcolor
MD %SystemRoot%\resources\themes\royale\shell\royale
MD %SystemRoot%\resources\themes\royale\wallpaper
copy "%TEMP%\royale.theme" %SystemRoot%\resources\themes\*.*
copy "%TEMP%\royale.msstyles" %SystemRoot%\resources\themes\royale\*.*
copy "%TEMP%\shellstyle.dll" %SystemRoot%\resources\themes\royale\shell\homestead\*.*
copy "%TEMP%\shellstyle.dll" %SystemRoot%\resources\themes\royale\shell\metallic\*.*
copy "%TEMP%\shellstyle.dll" %SystemRoot%\resources\themes\royale\shell\normalcolor\*.*
copy "%TEMP%\shellstyle.dll" %SystemRoot%\resources\themes\royale\shell\royale\*.*
copy "%TEMP%\energybliss.jpg" %SystemRoot%\resources\themes\royale\wallpaper\*.*
endlocal
然后另存為energyblue.bat ,將它放在C:/download目錄下.
(2)
(3)接著需要用到dos了.
(4)然后切換到桌面---右鍵--屬性---在主題一項已經多了一個energyblue的選項.HOHO!