首先,我们打开一个记事本。然后在新建中找到文本文档就可以了。
" V0 `0 c: S, g% \' L" m- w
2 R0 O8 Q* {3 a* i2 I2 \接着我们在打开的记事本中一字不差的输入以下代码:
8 ^+ j+ C4 {+ S7 @1 i& L, z0 a" o1 i/ b6 y& J0 }; o
Windows Registry Editor Version 5.00" b& a# U1 I% v- v6 p7 ?
! o3 a1 _0 s3 G9 T; Change Extension's File Type" P m7 H; a$ Z2 B
# i0 \+ ^9 O! U( t% Z1 { a" E[HKEY_CURRENT_USER\Software\Classes\.jpg]0 \, Q* }5 r5 q, d" h# h$ T3 z5 W$ l$ P
; c: |2 J' A$ V p! Y& k@="PhotoViewer.FileAssoc.Tiff"
U r% i$ `) Y2 K* a" t
1 q2 ]9 a3 z% P; Change Extension's File Type N) [/ _& ]0 a
# C! }* k6 @' `. y
[HKEY_CURRENT_USER\Software\Classes\.jpeg]
/ K& g1 [, _9 V8 c! w+ G
/ u, N# Y! W+ w@="PhotoViewer.FileAssoc.Tiff"
' W- s2 d. Z' f& f: |. m, u. L1 D: O/ P$ z% a, P
; Change Extension's File Type
3 E4 p* o B$ Q+ m: q' o/ B$ _6 `3 b" ~
[HKEY_CURRENT_USER\Software\Classes\.gif]' J9 O/ A% }& g. i1 V5 |$ ?# u
" A+ h% g* ]0 e; o) N
@="PhotoViewer.FileAssoc.Tiff"% r5 ~ A5 d1 ^" ~+ C0 F8 w
8 `" `( D; C7 o D: {; Change Extension's File Type
! o3 a* {* d- G* Y+ m
* b0 z5 |# c7 [* I$ W2 p1 |0 L; x[HKEY_CURRENT_USER\Software\Classes\.png]
) T# N! P# A+ y* K# S$ W: m1 z J6 _+ W
@="PhotoViewer.FileAssoc.Tiff"2 h% @& r6 I) P! y$ h8 Y+ N; l$ `
* ?- @; r. }; u6 d- `
; Change Extension's File Type
% @( ~+ s9 d8 @# \" P" u) I2 Z8 V, k
[HKEY_CURRENT_USER\Software\Classes\.bmp]
' p$ d) D- m+ ]4 T& N) l; {3 p( v( X% n+ V0 \
@="PhotoViewer.FileAssoc.Tiff"8 b% @- e X" h# B) R( \8 k
$ F/ F! R7 w! k6 u ~
; Change Extension's File Type
# E7 V' q2 Y/ U0 ]9 l# n' ~2 X" n& a7 Z5 y2 B1 n8 j
[HKEY_CURRENT_USER\Software\Classes\.tiff]
5 `, M9 m& a9 n
/ H& G0 l8 ?+ m9 ?, J9 C@="PhotoViewer.FileAssoc.Tiff"2 X/ L2 t2 X0 G0 z' P
* i3 K! g% F0 s) E; Change Extension's File Type
5 I5 N# p6 L, ] ?( E, j
& F' z, h+ ^8 i8 ~& M8 m( e4 D[HKEY_CURRENT_USER\Software\Classes\.ico]
. u4 S, o4 b) ?% Z( X0 W1 ?% b9 V& a3 M& O( S9 @
@="PhotoViewer.FileAssoc.Tiff"
; s2 Y4 _5 K0 Y6 a9 I" S* |8 o/ w' @: o5 G
另存为桌面,注意一点就是保存的时候保存成.reg格式9 W* n% x5 F8 {' G- F+ b
再运行,导入到注册表即可 |