首先,我们打开一个记事本。然后在新建中找到文本文档就可以了。+ a' t0 V* j/ l; W
) g4 j& E& p7 u4 i# j t1 x接着我们在打开的记事本中一字不差的输入以下代码:
: x6 u+ ]; J( i2 @; d3 ]7 A# T% K% Q
Windows Registry Editor Version 5.00
9 l5 c' G1 a: Q2 e& B' b- v5 ~2 e* S+ M$ l
; Change Extension's File Type4 k. |* | ~8 {/ `
% o8 H L. X4 o0 _! G[HKEY_CURRENT_USER\Software\Classes\.jpg]
4 P4 k$ w. G% V1 N, k
7 L/ d! z; u8 e- a3 E; Q@="PhotoViewer.FileAssoc.Tiff"
2 t7 b) X; V& [) d& i* g V" J2 M$ y. w
; Change Extension's File Type `7 X$ V& u6 v" z
. P: n: J, g% m& E. R) n% r
[HKEY_CURRENT_USER\Software\Classes\.jpeg]
* J1 [+ t* [$ s& A( j: X, H' G7 K( f: G
@="PhotoViewer.FileAssoc.Tiff"
/ x" ]' ~: V+ c% X7 l
: k( ~# f5 t- Z) e, L0 a: q3 S- U+ ]; Change Extension's File Type7 x4 ^, H) g+ g: v: y9 h! d* F+ u# ?
/ q( q1 B- M! ?7 n[HKEY_CURRENT_USER\Software\Classes\.gif]; e% l/ V) p7 S. H. z/ F; X7 W \
+ ~3 K) _& L3 e0 x* V$ x M@="PhotoViewer.FileAssoc.Tiff"& v9 r' v { i% e+ m. d
5 m1 s. K$ U3 ]. }
; Change Extension's File Type
+ k) s" O& `; q, P d8 U* [7 y; B# ~" o+ ` R3 ^( A6 @5 {
[HKEY_CURRENT_USER\Software\Classes\.png]2 t5 b2 ^9 A, K% d$ l" n: s
: N5 H$ _4 N! _. G3 m@="PhotoViewer.FileAssoc.Tiff"
+ \# u" I3 W" w4 N
6 f4 b4 l$ W' e; G' l z# O+ S8 o; Change Extension's File Type9 G& P6 T! P% m# b" x- p
! N3 T3 J+ m6 x, a3 Y
[HKEY_CURRENT_USER\Software\Classes\.bmp]
4 f4 [2 o- `0 a& {. X7 G1 h3 ?. k( y5 T
@="PhotoViewer.FileAssoc.Tiff"9 h. l& d7 _" x. ]: _
8 I( M( f# }6 y0 z; Change Extension's File Type& s* m! b% N2 O6 |
0 l# V# m# s* [* H[HKEY_CURRENT_USER\Software\Classes\.tiff]; A, W, d7 J' S# V$ q6 m U
$ P3 e* K& R0 I+ V R% i' c@="PhotoViewer.FileAssoc.Tiff"
# g6 |7 n2 A6 q: `0 u& Q- a% A% @7 [7 j. d$ Y
; Change Extension's File Type5 t2 i1 l2 I; b6 ]& l. J
7 r6 H8 W" [" Q! ~6 W[HKEY_CURRENT_USER\Software\Classes\.ico] u8 T. P! g' o: ?
$ x4 {5 E8 L h# x6 V@="PhotoViewer.FileAssoc.Tiff"
; b, n) u! R3 c+ r5 M5 L
) {& ^* b/ h8 A; A另存为桌面,注意一点就是保存的时候保存成.reg格式: e! x: n. Z- f1 k5 l
再运行,导入到注册表即可 |