標籤

bat (54) 作品 (41) python (24) shell (17) windows (11) 虛擬機 (11) php (10) CPP (6) KMS (6) 程式設計 (6) docker (5) 使用教學 (5) xoops (4) 公文 (4) Apache2 (3) Excel (3) juniper (3) 資料庫 (3) 轉檔 (3) mysql (2) 免動手 (2) 資料結構 (2) 軟體廣播 (2) 電腦維修 (2) Android Studio (1) Apple IPAD管理 (1) Arduino (1) CSS (1) LAMP (1) NAS (1) Ubuntu (1) VHD (1) Windows Server (1) 原因 (1) 程式應用 (1) 程式積木 (1) 編輯器 (1) 雲端硬碟 (1)

2022年12月15日 星期四

只要點兩下,就能讓Windows 10 擁有Windows 7 的相片檢視器

系列文章:
https://skjhcreator.blogspot.com/2022/12/win10.html
4.只要點兩下,免傳輸線,就能讓學生透過QRcode來傳送IPAD或平板內的檔案
 
       最近同事問我,在Windows 10 的桌機,怎麼找不到照片檢視器?有沒有辦法讓其有照片檢視器。沒有照片檢視器,只能用小畫家,感覺很不方便。
        為了解決這個問題,找了大神幫忙。大神找到資料來源1.Windows相片檢視器下載安裝、設定方法教學 在Win 10找回Win 7相片檢視器。看完之後,要設定Registry。但是,步驟很多而且要仔細看,才能完成設定。希望能用滑鼠點兩下,就完成設定。

        A colleague recently asked me, why can't I find the photo viewer on my Windows 10 desktop? Is there a way to make it have a photo viewer. Without a photo viewer, you can only use Little Painter, which feels very inconvenient.
        In order to solve this problem, I asked God for help. God found the source of the information 1. Windows photo viewer download and installation, setting method teaching Retrieve Win 7 photo viewer in Win 10. After reading, to set the Registry. However, there are many steps and you have to watch carefully to complete the setup. I hope to complete the setting with two clicks of the mouse.
下載檔案解壓密碼:demo1234
使用步驟教學:

程式說明:只要點兩下,就能讓Windows 10  擁有Windows 7 的照片檢視器
檔案名稱:PhotoViewerSetting.bat
檔案內容:
@echo off
REM ---------------以下是程式碼,不需更改---------------
REM :: BatchGotAdmin (Run as Admin code starts)
REM --> Check for permissions
>nul 2>&1 "%SYSTEMROOT%\system32\cacls.exe" "%SYSTEMROOT%\system32\config\system"
REM --> If error flag set, we do not have admin.
if '%errorlevel%' NEQ '0' (
echo Requesting administrative privileges...
goto UACPrompt
) else ( goto gotAdmin )
:UACPrompt
echo Set UAC = CreateObject^("Shell.Application"^) > "%temp%\getadmin.vbs"
echo UAC.ShellExecute "%~s0", "", "", "runas", 1 >> "%temp%\getadmin.vbs"
"%temp%\getadmin.vbs"
exit /B
:gotAdmin
if exist "%temp%\getadmin.vbs" ( del "%temp%\getadmin.vbs" )
pushd "%CD%"
CD /D "%~dp0"
REM :: BatchGotAdmin (Run as Admin code ends)
REM :: Your codes should start from the following line
REM 設定照片檢視器
set regpath=HKEY_LOCAL_MACHINE\Software\Microsoft\Windows Photo Viewer\Capabilities\FileAssociations
@reg add "%regpath%" /v ".jpg" /d "PhotoViewer.FileAssoc.Tiff" /t REG_SZ /f
@reg add "%regpath%" /v ".png" /d "PhotoViewer.FileAssoc.Tiff" /t REG_SZ /f
@reg add "%regpath%" /v ".bmp" /d "PhotoViewer.FileAssoc.Tiff" /t REG_SZ /f
pause
exit



沒有留言:

張貼留言

只要點兩下,就能夠將InputAndOutput資料夾底下的子子孫孫資料夾內所有Word通通轉成PDF

  系列文章: 1. 只要點兩下,就能將一堆的Doc與Docx 轉成 PDF 1. https://skjhcreator.blogspot.com/2023/05/docdocx-pdf.html 2. 只要點兩下,就能將一堆的JPG轉成一個PDF,並以JPG所在的資料夾名稱為...