2013年9月18日 星期三

電腦內ICON圖示顯示不正常處理方式

一、先把如下紅色英文字母複製

@echo off&mode con: cols=15 lines=2&color 0c&title FIX.ICO&setlocal enableDelayedExpansion
echo Loading...
for /f "tokens=1-2" %%a in ('wmic logicaldisk get caption^, drivetype') do (
set a=%%%a
set b=%%%b
if not "!a!"=="Caption" (
cls
@echo Fix !a:~0,1!:
if "!b!"=="3" ( call :1 ) else ( call :2 )
)
)
cls
set /P= Related
set/p=
reg add "HKCR\.ico" /ve /t REG_SZ /d "icofile" /f >nul 2>nul
set/p="\"
set/p=
reg add "HKCR\.ico" /v "PerceivedType" /t REG_SZ /d "image" /f >nul 2>nul
set/p="|"
set/p=
reg add "HKCR\.ico" /v "Content Type" /t REG_SZ /d "image/x-icon" /f >nul 2>nul
set/p="/"
set/p=
reg add "HKCR\.ico\PersistentHandler" /ve /t REG_SZ /d "{098f2470-bae0-11cd-b579-08002b30bfeb}" /f >nul 2>nul
set/p="-"
set/p=
reg add "HKCR\icofile" /ve /t REG_SZ /d "Icon" /f >nul 2>nul
set/p="\"
set/p=
reg add "HKCR\icofile" /v "ImageOptionFlags" /t REG_DWORD /d 00000000 /f >nul 2>nul
set/p="|"
set/p=
reg add "HKCR\icofile\DefaultIcon" /ve /t REG_SZ /d "%%1" /f >nul 2>nul
cls&echo Done
explorer.exe ::{20D04FE0-3AEA-1069-A2D8-08002B30309D}
Pause >nul
exit
:1
attrib -r -a -s -h "!a:~0,1!:\autorun.inf" >nul 2>nul&&@del "!a:~0,1!:\autorun.inf" >nul 2>nul
:2
reg delete HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\DriveIcons\!a:~0,1!\DefaultIcon /f >nul 2>nul
goto :eof


二、開啟「記事本」→把剛剛複製的東西貼在「記事本」上

三、按「檔案」→「儲存檔案」→跳出「另存新檔」視窗→檔名自取(如:
ddovwmk.bat)→按「儲存」鈕

四、直接執行「ddovwmk.bat」檔→跳出「FIX.ICO」視窗→出現「Dpme」字眼→按「」圖示

標籤: , , , , , , , , , , , , , ,

0 個意見:

張貼留言

訂閱 張貼留言 [Atom]

<< 首頁