首先,我们打开一个记事本。然后在新建中找到文本文档就可以了。; C2 k: R W4 Z3 y
6 X3 k4 T% r/ v7 b$ r2 [% J/ ]* C接着我们在打开的记事本中一字不差的输入以下代码:
. j' `+ Q2 K7 E2 D/ o, [+ R: l; d P# H( g
Windows Registry Editor Version 5.00
+ z8 F& A& U5 j. E$ w$ p S* o& m0 g! y1 [# E4 v) _5 B1 G! P
; Change Extension's File Type" s; y! o) P1 K: v- W
: w. M" X9 v5 _# z
[HKEY_CURRENT_USER\Software\Classes\.jpg]. X* n' c0 s# }3 C# c0 a t
% ^& L9 {. O# d
@="PhotoViewer.FileAssoc.Tiff"( N9 X+ M/ k" k4 i9 U% {+ E
4 r+ o" y+ z' _2 Q; Change Extension's File Type% R) w8 r1 K2 i/ a9 b
# _5 e' u. n7 ]) ~2 X6 _4 G* A- p# g9 I[HKEY_CURRENT_USER\Software\Classes\.jpeg]
0 M3 f3 s" o% \# k' i2 [' K
2 {% Z" L% Y4 ^/ I' `2 I$ z* G0 ?) h@="PhotoViewer.FileAssoc.Tiff"
# x+ G. ?7 |1 t% G
( w& Q' z5 s/ ]' n" y; Change Extension's File Type+ I+ S! @0 K( s6 H# w Z
/ J" Z9 {& y/ K0 Q[HKEY_CURRENT_USER\Software\Classes\.gif]
! q2 d2 Q0 O2 h/ D& D
1 l* u! }/ B% b( H@="PhotoViewer.FileAssoc.Tiff"
$ A; }/ H3 \: ?& V5 N, k4 p1 E4 D. J% \
; Change Extension's File Type
3 @5 y. @& D3 p) W9 j$ Q+ c: p9 g6 c& U( `) M! ~
[HKEY_CURRENT_USER\Software\Classes\.png]1 G+ R* d6 q& U7 i& N7 h$ K) i
! V3 Q- }3 i! H" P) X9 h2 d@="PhotoViewer.FileAssoc.Tiff"3 f( C$ J9 {5 \% N
3 S1 _/ x1 n, l# i: c8 O9 E; Change Extension's File Type
7 X* U: s5 @" @, ]- Q( Z% N$ j* v# O& c o9 i
[HKEY_CURRENT_USER\Software\Classes\.bmp]
' u6 v$ a0 `' v; _' M4 c: v& G
% V9 ^5 P4 N Q1 @9 M: f& \@="PhotoViewer.FileAssoc.Tiff"
# L M% ~) V3 v3 D: \! l p$ v
3 t1 ^" n5 ?/ H, e, ^; Change Extension's File Type! L: A8 @. j w* U4 m( R0 u, D
/ i1 g9 g9 ~# E ~! @% S
[HKEY_CURRENT_USER\Software\Classes\.tiff]
! k8 Y5 M3 T/ x6 m1 h; G/ l- Y5 I4 r4 N4 R$ A
@="PhotoViewer.FileAssoc.Tiff"7 X5 z; U# H/ V2 g
- O; q4 t# l% x* U6 x8 R$ }5 K
; Change Extension's File Type d9 }; s% a) y* C. R
r" M; g7 U& S[HKEY_CURRENT_USER\Software\Classes\.ico]/ A* O4 ]; C$ w3 z
( i& y3 s5 \7 p Q" r E( L
@="PhotoViewer.FileAssoc.Tiff"
' R% X, B6 c4 C+ {5 s
5 t1 o3 j/ {! \: Z另存为桌面,注意一点就是保存的时候保存成.reg格式& r/ Y; D( E/ i; }: ~
再运行,导入到注册表即可 |