批处理 设置windows图片和传真查看器为默认图片浏览器

发布网友 发布时间:2022-04-23 05:56

我来回答

1个回答

热心网友 时间:2023-11-06 13:53

assoc
.jpg=jpegfile
ftype
jpegfile=rundll32.exe
C:\WINDOWS\system32\shimgvw.dll,ImageView_Fullscreen
%%1
assoc
.bmp=bmpfile
ftype
bmpfile=rundll32.exe
C:\WINDOWS\system32\shimgvw.dll,ImageView_Fullscreen
%%1
assoc
.TIFF=TIFFfile
ftype
TIFFfile=rundll32.exe
C:\WINDOWS\system32\shimgvw.dll,ImageView_Fullscreen
%%1
assoc
.PNG=PNGfile
ftype
PNGfile=rundll32.exe
C:\WINDOWS\system32\shimgvw.dll,ImageView_Fullscreen
%%1
assoc
.GIF=GIFfile
ftype
GIFfile=rundll32.exe
C:\WINDOWS\system32\shimgvw.dll,ImageView_Fullscreen
%%1
@pause
试试上面这个
我想了想,其实没那么复杂,改成这样应该就行了
@echo
off
reg
add
HKEY_CLASSES_ROOT\jpegfile\shell\open\command
/ve
/t
REG_SZ
/d
"rundll32.exe
%systemroot%\system32\shimgvw.dll,ImageView_Fullscreen
%%1"
/f
reg
add
HKEY_CLASSES_ROOT\JPG文件\shell\open\command
/ve
/t
REG_SZ
/d
"rundll32.exe
%systemroot%\system32\shimgvw.dll,ImageView_Fullscreen
%%1"
/f
reg
add
HKEY_CLASSES_ROOT\JPEG文件\shell\open\command
/ve
/t
REG_SZ
/d
"rundll32.exe
%systemroot%\system32\shimgvw.dll,ImageView_Fullscreen
%%1"
/f
reg
add
HKEY_CLASSES_ROOT\jpgfile\shell\open\command
/ve
/t
REG_SZ
/d
"rundll32.exe
%systemroot%\system32\shimgvw.dll,ImageView_Fullscreen
%%1"
/f
reg
add
HKEY_CLASSES_ROOT\BMPfile\shell\open\command
/ve
/t
REG_SZ
/d
"rundll32.exe
%systemroot%\system32\shimgvw.dll,ImageView_Fullscreen
%%1"
/f
reg
add
HKEY_CLASSES_ROOT\TIFFfile\shell\open\command
/ve
/t
REG_SZ
/d
"rundll32.exe
%systemroot%\system32\shimgvw.dll,ImageView_Fullscreen
%%1"
/f
reg
add
HKEY_CLASSES_ROOT\bmp\shell\open\command
/ve
/t
REG_SZ
/d
"rundll32.exe
%systemroot%\system32\shimgvw.dll,ImageView_Fullscreen
%%1"
/f
reg
add
HKEY_CLASSES_ROOT\jpg\shell\open\command
/ve
/t
REG_SZ
/d
"rundll32.exe
%systemroot%\system32\shimgvw.dll,ImageView_Fullscreen
%%1"
/f
@pause
在给你补充一个方法,刚出炉的
上面那个你不懂就不要乱发
发什么鸟都不知道

声明声明:本网页内容为用户发布,旨在传播知识,不代表本网认同其观点,若有侵权等问题请及时与本网联系,我们将在第一时间删除处理。E-MAIL:11247931@qq.com