首先,我们打开一个记事本。然后在新建中找到文本文档就可以了。 \9 X2 I B/ a1 p
- d$ r, o; B$ O4 \" U接着我们在打开的记事本中一字不差的输入以下代码:4 B( }6 F/ ^, D" `# t) F9 T5 e
! f ~9 n5 [% g. x- f% _+ _
Windows Registry Editor Version 5.00
# U- a3 [ M& a
) o& e. b& z2 P; Change Extension's File Type
- n- ~4 L/ i' x7 w7 v1 ] N& l \, L7 W' D
[HKEY_CURRENT_USER\Software\Classes\.jpg]: A4 d4 M2 l# h
~& Y& l2 f. G) m" w) m@="PhotoViewer.FileAssoc.Tiff"
+ R3 ?( V( r. u- i. ?9 }. Y/ A" H- L5 I
; Change Extension's File Type" i; F, c2 M8 w! j+ l) b7 o
: a! ~# s8 L# x& z1 g( {! m[HKEY_CURRENT_USER\Software\Classes\.jpeg]
+ Y- }& ]3 Q3 E. @, [
8 e* Q' r& x6 x7 z. f! w6 ~: y# ? t@="PhotoViewer.FileAssoc.Tiff"0 K: Q W; R7 c9 Y
( a+ q3 A; F# A3 f1 G: L
; Change Extension's File Type" g) |& ^3 m- h# T/ Z, {9 S
1 t e1 i9 a: p[HKEY_CURRENT_USER\Software\Classes\.gif]
: R( B6 W, R7 M0 K9 P3 m7 A/ R" F/ G4 ^8 j6 @
@="PhotoViewer.FileAssoc.Tiff"
* R" ]3 p- H; M- a$ z8 ^2 p5 I- @7 p3 X8 \ I& }( y' s1 C: N- N6 t* m
; Change Extension's File Type: S& t' c/ o) B' O$ f4 O
% l' B- ]4 q' V
[HKEY_CURRENT_USER\Software\Classes\.png]2 i C: X! n' p4 }* c
1 t% v' f% C# Y/ m@="PhotoViewer.FileAssoc.Tiff"2 R# N7 M: `+ ?( A
5 D9 e3 w* k! ?' T2 |
; Change Extension's File Type
3 G: x* v" Z. S2 z- K. e
4 O0 E) ]8 Z- f, e0 V3 e3 l[HKEY_CURRENT_USER\Software\Classes\.bmp]
5 R0 z5 d8 n7 c5 u: u
7 \6 o H5 W3 r' ~@="PhotoViewer.FileAssoc.Tiff"
M9 y* S6 g2 s# l
5 c$ f" o$ Q" @0 G; Change Extension's File Type; O0 }7 c) @& m5 S
# x+ c4 H6 O% p, ~$ |7 D: s7 a& E[HKEY_CURRENT_USER\Software\Classes\.tiff]
3 P, b4 y7 R) ^% e$ g8 k U
; v k7 `# l( g, k3 Y@="PhotoViewer.FileAssoc.Tiff"
2 t% J5 c! \) E# G8 T; o; \- H+ j- S5 j7 ~
; Change Extension's File Type2 y- @4 l2 P. K# |( t
& j9 R) ^# A" k5 A L# {[HKEY_CURRENT_USER\Software\Classes\.ico]
4 S. @2 T% G) R& F) W) P+ @' [) F% X/ C0 }& W
@="PhotoViewer.FileAssoc.Tiff"
5 a* S: A. f7 F3 D5 m4 K8 a0 p! C7 S$ Z! U, x5 n
另存为桌面,注意一点就是保存的时候保存成.reg格式3 @! M3 Q7 j# K
再运行,导入到注册表即可 |