zoukankan      html  css  js  c++  java
  • Win10怎么默认用Windows照片查看程序打开图片

    复制以下内容到记事本:

    @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

    @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

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

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

  • 相关阅读:
    Appium教程
    ES6对象类型判断
    MyBatisPlus的时间段和模糊查询
    一个div中多个元素垂直居中的一种解决办法
    @JsonFormat与@DateTimeFormat注解的使用
    java日期类型对象通过mybatis向数据库中的存取
    Vue.js单向绑定和双向绑定实例分析
    Maven的使用
    如何将本地的项目提交到码云的远程仓库
    Linux CentOS7 的安装
  • 原文地址:https://www.cnblogs.com/moonsoft/p/12250895.html
Copyright © 2011-2022 走看看