首先,我们打开一个记事本。然后在新建中找到文本文档就可以了。
4 M9 t; i, [5 N3 y
0 R5 K6 ?+ m, h, a- ]& @接着我们在打开的记事本中一字不差的输入以下代码:
' r @2 s2 @, Q- s# w* G- l. m% }
Windows Registry Editor Version 5.009 T3 d9 K. z( ^, b% V
4 K' G5 A) P% S. M
; Change Extension's File Type
1 T: S/ r4 i1 X9 W: m
- o# B$ V" f7 U5 U4 U[HKEY_CURRENT_USER\Software\Classes\.jpg]
( B* `9 g5 t. l' f0 Z
1 w$ R0 r& q7 T5 s: U7 D& {. F) l@="PhotoViewer.FileAssoc.Tiff"1 [/ W+ p( k' h: S
4 t1 z. Y* Q# L. ^! L) l" s; Change Extension's File Type% {5 d! z' ]% i2 n/ V
\& @/ p2 a, ^- g7 I
[HKEY_CURRENT_USER\Software\Classes\.jpeg]- `3 a+ h, C. S0 x d8 u
* S2 k& G& G! a0 Y
@="PhotoViewer.FileAssoc.Tiff"
. Z+ k: }% x0 r$ S H5 b2 P% P0 S& [0 Z* E1 H8 ~
; Change Extension's File Type
" Z6 M+ E8 I6 v0 s
d/ R( I7 u9 X4 `( K[HKEY_CURRENT_USER\Software\Classes\.gif]
, J+ e5 ?4 l3 s$ k7 M; c$ I8 U% B* X) u& \/ O- H4 _/ S2 ^
@="PhotoViewer.FileAssoc.Tiff"
; l+ \$ w0 E( G3 p1 T! k! r+ A8 |% K9 m) F5 _, n
; Change Extension's File Type+ i+ M# ?8 Q( R7 F% A& E' M
6 `' ~: M% [! z: w; s" g+ b[HKEY_CURRENT_USER\Software\Classes\.png]
# y8 _1 A; Z/ Q3 x7 i! ?: E4 `( K' }( ^8 o( ]# K
@="PhotoViewer.FileAssoc.Tiff", S/ E Y! |) ?4 F
& T) W# e: \" w/ J7 F E7 _; Change Extension's File Type
" M6 G0 _! [- A( A( V. E w4 {, G- X; B8 u d
[HKEY_CURRENT_USER\Software\Classes\.bmp]2 t# _5 s; z9 I" K% X
2 ^1 ^8 g! u9 j7 X2 t: I6 P
@="PhotoViewer.FileAssoc.Tiff"
" ~- c7 D9 c, `. K8 a- r1 q6 \) c; g3 O9 _- G }
; Change Extension's File Type
( a% ~ a( T4 _& M; o/ r3 F
" l. E# p3 j/ j% r8 \9 L[HKEY_CURRENT_USER\Software\Classes\.tiff]1 B6 u1 c: l: f7 Y! G1 N6 L
. V9 X2 |4 ?$ z! m
@="PhotoViewer.FileAssoc.Tiff"
- X0 a! l$ k5 L- R/ m9 P) i+ L0 H
! q S# \$ H, |2 g c1 z; Change Extension's File Type3 D0 _9 C9 X# R3 D; M1 m0 Y9 d7 X
6 A% {3 ^, `9 C7 @) w' P[HKEY_CURRENT_USER\Software\Classes\.ico]
% D: y& {! N) d7 C# A- k* V8 a: Q- n3 b6 U0 f8 E% @. P
@="PhotoViewer.FileAssoc.Tiff"
' O3 N% M: k$ v' [: z4 k" }
& h6 l- _. Y. w/ D }另存为桌面,注意一点就是保存的时候保存成.reg格式; C9 V! V; Y' W. J% R6 b1 ^7 P# j
再运行,导入到注册表即可 |