首先,我们打开一个记事本。然后在新建中找到文本文档就可以了。9 B8 u$ o( z2 ^! v. j
2 i: e5 R- I, c
接着我们在打开的记事本中一字不差的输入以下代码:
! `$ h8 l! g4 |+ {- W3 U
# c! N3 F) G. U' j8 `Windows Registry Editor Version 5.00+ N) R6 _% I2 w: P L9 m |
, R2 L9 Z% V0 j) K, v; Change Extension's File Type
0 I4 ~2 P; c* k# k5 }3 l4 V# L5 B6 R; z( k- {) J
[HKEY_CURRENT_USER\Software\Classes\.jpg]
7 q6 n ?, j0 H. ^; T9 O5 _. v- o$ ~
@="PhotoViewer.FileAssoc.Tiff"' i i/ L& m# F+ w) n9 ]9 N
' l$ J0 G1 U$ E0 ^
; Change Extension's File Type
~2 ]3 I9 U* c: n( ]* }2 j9 c4 t3 P$ ~& r1 d* _$ e! N S/ m
[HKEY_CURRENT_USER\Software\Classes\.jpeg]9 b' m) r3 C* L8 k
' O$ D j* Q3 ^6 H- X6 D@="PhotoViewer.FileAssoc.Tiff"
2 e6 \. q! l9 w, f/ _: A, s, F2 D2 z: P
; Change Extension's File Type- l/ C2 T) `; C, F- Z$ X/ H
/ j3 I1 Z0 i" v) c/ t4 ][HKEY_CURRENT_USER\Software\Classes\.gif]3 X- o, I$ {! q& O& `) u# y9 K" v
# I6 f+ I2 I3 f@="PhotoViewer.FileAssoc.Tiff"
/ A" ]) B/ d3 V3 O2 m( J) x# c" n& \, u% D: H* I- H6 {' I
; Change Extension's File Type% N( N5 L# a7 w u8 V
% {' a: a7 K& Z" a: Y# s k
[HKEY_CURRENT_USER\Software\Classes\.png]
+ G( G s5 P' S* V0 {# ]; e& z, @/ z0 l0 ~: T3 q
@="PhotoViewer.FileAssoc.Tiff"# b3 X; R5 ]; s# {
1 B% K% G) w# k7 Y
; Change Extension's File Type u+ Q9 a6 V# {0 W" l
* Q) Y! b: d6 l9 x1 M2 ^) x% E+ E[HKEY_CURRENT_USER\Software\Classes\.bmp], @& U2 e: S- x2 J2 [4 m
! \# [' \. \7 j3 b0 Z4 M& B@="PhotoViewer.FileAssoc.Tiff"
( n, A6 l5 Y2 P/ `- g# |
/ T' t+ E' k2 N+ {1 l. x- y& v; Change Extension's File Type
+ o4 ^ r3 T7 B
9 |, b6 z& s, n+ Q) P! {[HKEY_CURRENT_USER\Software\Classes\.tiff]2 B2 z1 h# `! _# I6 @, o2 s& H
; h& ^" C! |5 [) [: k4 m9 f
@="PhotoViewer.FileAssoc.Tiff"
/ X7 n$ N: S$ F/ {! z" D2 v' {6 _9 [; ?: h# P+ _6 ^/ M+ [; H
; Change Extension's File Type+ N& p3 h5 r: e
, d6 Y* b; U( F5 h3 `2 r' w[HKEY_CURRENT_USER\Software\Classes\.ico]
( S0 J: o: x1 h7 Z
8 [5 D2 \, v. c8 w( i3 o7 b@="PhotoViewer.FileAssoc.Tiff"
4 T* ^- ]2 c1 b
* d M9 _, e8 V8 m* U5 n另存为桌面,注意一点就是保存的时候保存成.reg格式5 L8 h: ]. r& j7 G4 A9 l
再运行,导入到注册表即可 |