首先,我们打开一个记事本。然后在新建中找到文本文档就可以了。 u+ h1 y; ~$ n6 n
# g/ I. k: c' d; Y: K
接着我们在打开的记事本中一字不差的输入以下代码:$ }+ }$ S1 ]0 G3 w4 q7 |
" Z5 w9 `* s! ?Windows Registry Editor Version 5.00
; E8 ?: K& b p8 s% u2 x9 S! y2 ?7 [9 _2 x3 S A) Z' @
; Change Extension's File Type
% ~$ R5 K7 l! i
6 L! I1 ?4 p9 Q0 G[HKEY_CURRENT_USER\Software\Classes\.jpg]
- F& n) j. V9 p5 R$ J
, x- x6 f* r% J1 R@="PhotoViewer.FileAssoc.Tiff"# N K7 ]! a3 Z& D4 Z1 d& P# G
6 U' ?! J. d. I5 U, D; Change Extension's File Type
6 p9 |5 Q; @3 _0 {3 w4 m) ~8 b
' G6 o6 Q& X2 q3 G4 P4 h1 i/ Z[HKEY_CURRENT_USER\Software\Classes\.jpeg]
- b/ }4 i# r8 L4 G) K# c
8 q' B+ M! k5 @2 x@="PhotoViewer.FileAssoc.Tiff" D$ C; O; F1 G; b( h$ G/ j
! F0 [5 J% Y4 w0 ? p$ t; Change Extension's File Type( L8 R) B9 p! v2 N8 h* E
% T- p9 `5 x/ E T1 d1 I
[HKEY_CURRENT_USER\Software\Classes\.gif]
' J& g) a! X, s* o4 f0 R) Q
7 R$ x, H) G6 i@="PhotoViewer.FileAssoc.Tiff"
- W# w" z$ G& K5 P) W
5 f# a4 Y' H6 r1 W$ F. s; Change Extension's File Type
, L% h p' [% e! L% S' s: C
' k' N& o* H$ y+ R- b[HKEY_CURRENT_USER\Software\Classes\.png]' S# Q+ Z+ {& v3 Y
# B. c6 u/ L0 s7 ^9 x@="PhotoViewer.FileAssoc.Tiff"
- k) ~. I1 Q& w6 f6 G6 i, T( V0 j! H' f9 N7 {2 A
; Change Extension's File Type
2 k' t7 }& V1 S8 b
6 C9 c( }- Y6 o( |. p* @! a; K9 |1 m[HKEY_CURRENT_USER\Software\Classes\.bmp]
; t/ [: u" e$ O1 N X8 T4 C3 e: b
@="PhotoViewer.FileAssoc.Tiff"' G9 l/ [, Y: N g* i
6 ?9 g0 _- y6 V; k/ ]
; Change Extension's File Type: w2 t" l: ]% G D; A; {' B
/ p+ O' a7 k. u0 J+ o' y0 k7 ][HKEY_CURRENT_USER\Software\Classes\.tiff]
4 i5 j7 e9 J7 `% i$ E: W- s' v9 r" J8 X* P; V+ y7 s1 N6 H6 v
@="PhotoViewer.FileAssoc.Tiff"" u/ a- J# ?2 t7 Z5 V
" | Y5 ]3 g W$ A% ~+ m- s4 c( E t7 n; Change Extension's File Type* V0 v% P% q+ d, v
; u' P) v& L# {, F. v8 [
[HKEY_CURRENT_USER\Software\Classes\.ico]
& ?/ |8 a9 g: o3 o) }3 @" q
* ], Y. V4 [0 Y% k! o0 j@="PhotoViewer.FileAssoc.Tiff"- j$ d) B% {' k L7 c: d* Q
' a* s1 {4 `& P4 _4 V7 a$ m$ x
另存为桌面,注意一点就是保存的时候保存成.reg格式) N6 V3 F9 R8 P, W m. h( \! o
再运行,导入到注册表即可 |