首先,我们打开一个记事本。然后在新建中找到文本文档就可以了。* W7 B2 J; F, @# s* L& O# z
4 T& J8 q/ p- j+ o. |) s: ?' V1 I, S
接着我们在打开的记事本中一字不差的输入以下代码:) a! |8 h0 g1 h9 b2 _
P" F+ H; ^, t& F6 } N ~
Windows Registry Editor Version 5.00- v8 T' X3 K/ s
) s/ {' y$ K& q+ l: s
; Change Extension's File Type
% g5 q9 C, V5 \! a4 x' b9 p% T8 \9 T/ c" ~1 A6 Z: I
[HKEY_CURRENT_USER\Software\Classes\.jpg]: r, l7 t! @3 \) u& k
. y* C$ e" V# G% u4 i5 p( x6 [@="PhotoViewer.FileAssoc.Tiff"6 S; m$ [3 Q" b+ d
) F( A' ]' w& l" q2 |& ~2 o: T) g5 f2 u
; Change Extension's File Type
# U; I8 e! j' r# p" ~& }2 j# |5 D" _$ E4 Q
[HKEY_CURRENT_USER\Software\Classes\.jpeg]: J H7 j: y [' i' |# L# y( [2 c2 b
9 x& q9 P* O2 A& w* g2 o& Y/ P) b* ]
@="PhotoViewer.FileAssoc.Tiff"4 P. y0 s. j7 `! M
: e m0 W- B3 a2 Z" i5 b7 R# O' a. f4 G
; Change Extension's File Type2 T1 b5 W) F) l4 v$ z6 `
! W/ i5 G6 b! N, Z! R
[HKEY_CURRENT_USER\Software\Classes\.gif]+ O3 S U1 I, M3 Q; ~; o
& l# N+ ?' B/ p T
@="PhotoViewer.FileAssoc.Tiff": O, I3 \3 B4 `; S- |$ Q1 b' b
l7 a/ M& [; O
; Change Extension's File Type
3 r/ W. r5 V( z8 u, e3 ?' n( [. C& D1 `0 d# t
[HKEY_CURRENT_USER\Software\Classes\.png]% o `) Y4 ^/ _3 e" l
3 |. r. J) c- Q3 w; H8 Z7 p@="PhotoViewer.FileAssoc.Tiff"; g5 l# A& U$ q
& e2 A( k5 m/ A, w( j. A$ J% n
; Change Extension's File Type
0 B6 Y- Q9 C' z& N. m1 k2 }
7 ?4 ?. A. P4 Y! d( \( M[HKEY_CURRENT_USER\Software\Classes\.bmp]9 x) y2 }& @8 w
: X; s% K3 [8 t( m4 _5 Q9 w
@="PhotoViewer.FileAssoc.Tiff"/ ~% W9 Z4 b& R8 d4 b J( v* K
! d6 S5 D% O6 F; L" i+ \+ A" i; Change Extension's File Type* e: p8 k6 x2 f2 H* w
2 K B) H x: @ e. D m
[HKEY_CURRENT_USER\Software\Classes\.tiff]
$ B# b; D5 j3 l0 a! W5 l6 v0 f, @( L2 m% {9 D0 [4 d- |
@="PhotoViewer.FileAssoc.Tiff". G' V, B3 e) ^ D% U3 O
5 P a7 X1 b: }& ?$ A% G; Change Extension's File Type
, N4 c% H5 y- C4 I( \* ~2 o! L1 H; n) b0 [5 U
[HKEY_CURRENT_USER\Software\Classes\.ico]
0 q2 b) n% }7 s9 T- z
( K/ D2 ?$ n' H( J# h; u@="PhotoViewer.FileAssoc.Tiff"
/ m, x8 @6 g% l6 e3 X1 o/ Z' V/ J: o/ X/ j- j, Y
另存为桌面,注意一点就是保存的时候保存成.reg格式' v0 H# G1 y" \
再运行,导入到注册表即可 |