zoukankan      html  css  js  c++  java
  • Win10用Windows照片查看程序(照片查看器)打开图片

    1. 以上方法只能一个个添加,也有人说不好使,这里给出一个我写的批处理程序,反正我一直用着很好。

    2.  

      ::复制以下内容到记事本:

      @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

    3. 3

      然后再保存为.bat的程序,以管理员方式运行之,第一次打开图片时选择windows照片查看器即可。

    4. 4

      以后重装系统了,或者别人需要设置,直接执行这个批处理程序就好了

       
  • 相关阅读:
    文件遍历
    小记——LocalFree与指针
    小记——遍历文件2
    数据库索引
    easyui验证
    JDBC事务
    ajax登录跳转实现
    dom解析xml
    kindeditor使用
    log4j的配置
  • 原文地址:https://www.cnblogs.com/yubufan/p/11088587.html
Copyright © 2011-2022 走看看