Win10 default viewer program opens with Windows Photo Images

:: copy the following into Notepad:

@echo off&cd\&color 0a&cls

echo 恢复Win10照片查看器

reg add "HKLM\SOFTWARE\Microsoft\Windows Photo Viewer\Capabilities\FileAssociations" /v ".jpg" /t REG_SZ /d PhotoViewer.FileAssoc.Tiff /f

reg add "HKLM\SOFTWARE\Microsoft\Windows Photo Viewer\Capabilities\FileAssociations" /v ".jpeg" /t REG_SZ /d PhotoViewer.FileAssoc.Tiff /f

reg add "HKLM\SOFTWARE\Microsoft\Windows Photo Viewer\Capabilities\FileAssociations" /v ".bmp"/ t REG_SZ / d PhotoViewer.FileAssoc.Tiff / f 

REG the Add " HKLM \ SOFTWARE \ in the Microsoft \ Windows Photo Viewer \ The Capabilities \ FileAssociations " / v " .png " / t REG_SZ / d PhotoViewer.FileAssoc.Tiff / f 

echo double-click or right-click the image and select "photo Viewer" to 

pause

And then save it as abc.bat, right-click the file to run as administrator mode , select Photo Viewer windows When you first open the picture (this will open the way after check).

Guess you like

Origin www.cnblogs.com/q149072205/p/11479942.html