恢复Win10照片查看器

批处理文件:

@echo off&cd&color 0a&cls

echo 恢复Win10照片查看器

reg add "HKLMSOFTWAREMicrosoftWindows Photo ViewerCapabilitiesFileAssociations" /v ".jpg" /t REG_SZ /d PhotoViewer.FileAssoc.Tiff /f

reg add "HKLMSOFTWAREMicrosoftWindows Photo ViewerCapabilitiesFileAssociations" /v ".jpeg" /t REG_SZ /d PhotoViewer.FileAssoc.Tiff /f

reg add "HKLMSOFTWAREMicrosoftWindows Photo ViewerCapabilitiesFileAssociations" /v ".bmp" /t REG_SZ /d PhotoViewer.FileAssoc.Tiff /f

reg add "HKLMSOFTWAREMicrosoftWindows Photo ViewerCapabilitiesFileAssociations" /v ".png" /t REG_SZ /d PhotoViewer.FileAssoc.Tiff /f

echo 请双击或右击图片,选择“照片查看器”即可

pause
原文地址:https://www.cnblogs.com/wzwyc/p/10945515.html