|
本帖最后由 心升明月 于 2025-6-7 19:47 编辑
pe下关联图片方法已解决,导入相关注册表项即可,具体如下:
Windows Registry Editor Version 5.00
[HKEY_CLASSES_ROOT\Applications\JPEGView.exe\shell\open\command]
@="\"x:\\Program Files\\JPEGView64\\JPEGView.exe\" \"%1\""
[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.bmp\UserChoice]
"ProgId"="Applications\\JPEGView.exe"
"Hash"="Fka5nh37E2E="
[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.gif\UserChoice]
"ProgId"="Applications\\JPEGView.exe"
"Hash"="8i86wFgG9hM="
[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.jpeg\UserChoice]
"ProgId"="Applications\\JPEGView.exe"
"Hash"="Cb3MAod9ZKk="
[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.jpg\UserChoice]
"ProgId"="Applications\\JPEGView.exe"
"Hash"="HZdY0KOSKn0="
[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.png\UserChoice]
"ProgId"="Applications\\JPEGView.exe"
"Hash"="mkjoBDeQ/8s="
[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.psd\UserChoice]
"ProgId"="Applications\\JPEGView.exe"
"Hash"="a8TMf1ODmxw="
[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.webp\UserChoice]
"ProgId"="Applications\\JPEGView.exe"
"Hash"="lVUlD40GTKs="
[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.tif\UserChoice]
"ProgId"="Applications\\JPEGView.exe"
"Hash"="+09YCLU3ahk="
[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.tiff\UserChoice]
"ProgId"="Applications\\JPEGView.exe"
"Hash"="f3FEovMEHoc="
复制以上语句到记事本,存为reg注册表文件,命名JPEGView.reg,放入JPEGView64文件夹(我用的是64位,把JPEGView64文件夹放在ProgramFiles里),然后再将下面代码放在PETools.ini里面
//图片文件关联
EXEC @%SystemRoot%\regedit.exe /s "%ProgramFiles%\JPEGView64\JPEGView.reg" |
|