@echo off
cls
echo 您的選擇為:恢復(fù)硬盤盤符圖標(biāo)……
@echo off
for %%i in (c d e f g) do (
reg delete "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\DriveIcons\%%i" /f >nul 2>nul
dir /a-d /b %%i:\autorun.inf>nul&&(
attrib %%i:\autorun.inf -s -h -r
del /q %%i:\autorun.inf
)
)
attrib "%USERPROFILE%\Local Settings\Application Data\IconCache.db" -s -h -r
del /q "%USERPROFILE%\Local Settings\Application Data\IconCache.db"
taskkill /f /im explorer.exe&start "" "explorer.exe"
cls
exit