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照片查看器即可。

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

  • 相关阅读:
    background image position问题
    yii 验证器和验证码
    laravel 模板 blade
    tbody添加垂直滚动条
    转:jquery选择器总结
    jquery ajax传递数组给php
    jquery serialize()、serializearray()已经$.param方法
    php stdClass Object 问题
    Codeforces Round #274 (Div. 2) E. Riding in a Lift(DP)
    HTTP协议具体解释
  • 原文地址:https://www.cnblogs.com/moonsoft/p/12250895.html
Copyright © 2011-2022 走看看