首先,我们打开一个记事本。然后在新建中找到文本文档就可以了。
/ |# x* L+ X* W) S, P9 l, m z$ g2 D$ k3 B! J' V
接着我们在打开的记事本中一字不差的输入以下代码:
0 u6 g" Z" N' w+ E* j. X2 g) } ?! z. g6 j5 J4 r
Windows Registry Editor Version 5.00
* m$ A+ l, @. G! r4 P
: \8 V' O, W" Z% {5 R1 L; Change Extension's File Type
) x6 I1 C" y: L. t o" i- z; m. ?' ?9 @, w* x7 ?
[HKEY_CURRENT_USER\Software\Classes\.jpg]
2 C: P& V- a$ {; O1 V
8 I' G4 S7 E: G# R1 H6 B1 O+ r0 b@="PhotoViewer.FileAssoc.Tiff"" J; L7 F7 n. H% Q& d
3 @# D% f9 Y, }9 E! `/ v0 J
; Change Extension's File Type# v2 g; J: d! O4 ^2 E ^$ V
9 u9 ]; [0 ~, d# {. F* k, |/ F
[HKEY_CURRENT_USER\Software\Classes\.jpeg]' J" ]& A4 T; b3 {# r' j% E
/ o& U' J3 w8 S! i
@="PhotoViewer.FileAssoc.Tiff"* G, W- i2 b" V: A# J+ J
- c4 |% q2 f- s; `& v+ H0 j
; Change Extension's File Type5 V' M" h! C0 T v# t6 |+ R. S
# N" [ | b) b+ I% d/ Y3 U[HKEY_CURRENT_USER\Software\Classes\.gif]
0 h; ?1 C& Y) Z& [0 v/ a/ y7 W8 R n/ e: |$ f7 j8 Q- W* m
@="PhotoViewer.FileAssoc.Tiff"7 f* M4 { b4 k$ @4 s* t
3 X2 t5 {" j3 w+ S1 t; Change Extension's File Type1 }$ k, X: S1 O5 j& |8 ~( |
& Y. n e5 v% }4 F4 I |[HKEY_CURRENT_USER\Software\Classes\.png]
. L5 |9 w9 A$ g$ O* n7 R0 n9 `, T( p+ M7 A) g
@="PhotoViewer.FileAssoc.Tiff". z- }+ `4 d% @( s
! z' l" m4 ?) W) q; Change Extension's File Type
: x% f0 m7 e* p L, q8 [% z1 W+ B1 ?" ?3 _. }
[HKEY_CURRENT_USER\Software\Classes\.bmp]
4 f3 e3 x( \9 i' \% O: E# ^; l/ @ C
@="PhotoViewer.FileAssoc.Tiff"
4 Y- H/ A9 M9 I7 p$ L( w
* K; R+ s! ?3 d* Y; }0 h' r; Change Extension's File Type
1 }& v, |. U% A% z- j- ?8 O6 z2 p3 f6 V
[HKEY_CURRENT_USER\Software\Classes\.tiff]
1 h3 _1 L4 E; C, D7 S$ D1 D+ j( {# v& u! Z6 p
@="PhotoViewer.FileAssoc.Tiff"
9 w/ ]. R7 q0 h8 `# }) I0 p% W6 q
; Change Extension's File Type. V7 t% Y/ c: f2 H# l* B
$ V0 T }$ A$ R d' Z& ]" M1 s- h[HKEY_CURRENT_USER\Software\Classes\.ico]
l% f, x2 O" U' X" H" }; @% g d: y1 s! v- o( R* G
@="PhotoViewer.FileAssoc.Tiff"2 B( m0 f9 Z- q# s, W, r% B
/ _& f4 p) N1 e0 K! Z8 M' f. ?另存为桌面,注意一点就是保存的时候保存成.reg格式7 S# H) G. F. U( f o8 U2 e
再运行,导入到注册表即可 |