解決windows縮圖不能顯示的問題

來源:互聯網
上載者:User
    

昨天整理照片時發現,選擇察看-縮圖,卻不能看到縮減的小圖,在找照片時顯得特別麻煩,得用acdsee一張張瀏覽,再記下該照片的名稱,然後再選擇。我清楚地記得,前一陣子完全可以看到縮圖的,殺了一遍毒也不見有問題。這段時間內我下載了一些其它軟體,莫非有衝突?還是windows的問題?或是acd的問題?

我先卸載了acd,重啟電腦,毛病依舊。在檔案夾裡改了幾個選項,還是不行。最後在網上搜尋,終於解決了問題。方法如下:把以下代碼複製到記事本:

'RepairImage.vbs
'Start of Image Preview Repair
'This section repairs the associations for Image Preview

Option Explicit

'Declare variables
Dim WSHShell, p1, p2, p3
Set WSHShell = WScript.CreateObject("WScript.Shell")
p2 = "\ShellEx\{BB2E617C-0920-11d1-9A0B-00C04FC2D6C1}\"
p3 = "{7376D660-C583-11d0-A3A5-00C04FD706EC}"

For Each p1 in Array(".art",".bmp",".dib",".gif",".jfif",".jpe",".jpeg",".jpg",".png",".wmf")
  WSHShell.RegWrite "HKCR\" & p1 & p2, p3
Next

p1 = ".tif"
p3 = "{1AEB1360-5AFC-11d0-B806-00C04FD706EC}"
WSHShell.RegWrite "HKCR\" & p1 & p2, p3
p1 = ".tiff"
WSHShell.RegWrite "HKCR\" & p1 & p2, p3
p1 = ".htm"
p3 = "{EAB841A0-9550-11cf-8C16-00805F1408F3}"
WSHShell.RegWrite "HKCR\" & p1 & p2, p3
p1 = ".html"
WSHShell.RegWrite "HKCR\" & p1 & p2, p3


'Start of Thumbnail Repair

'This section repairs the view in Thumbnail mode of Explorer.

p2 = "\CLSID\"
p3 = "{25336920-03F9-11cf-8FD0-00AA00686F13}"

For Each p1 in Array(".art",".bmp",".dib",".gif",".jfif",".jpe",".jpeg",".jpg",".png",".tif",".tiff",".wmf")
   WSHShell.RegWrite "HKCR\" & p1 & p2, p3
Next

MsgBox "Image Preview and Thumbnail View File" & vbCR & "Associations have been restored.", 4096, "Confirmation"

Set WSHShell = Nothing

 

然後在工具-檔案夾選項-察看中將“隱藏已知檔案類型的副檔名”前面的鉤去掉。再將記事本的這個檔案另存新檔.vbs格式,檔案名稱可以任取,注意下面檔案類型要選擇“所有檔案”。最後雙擊另存的.vbs格式的檔案,就ok啦!

   

相關文章

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在5個工作日內處理。

如果您發現本社區中有涉嫌抄襲的內容,歡迎發送郵件至: info-contact@alibabacloud.com 進行舉報並提供相關證據,工作人員會在 5 個工作天內聯絡您,一經查實,本站將立刻刪除涉嫌侵權內容。

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.