首先,我们打开一个记事本。然后在新建中找到文本文档就可以了。
) K4 X1 P5 N$ ~ ^( l# B: F6 {9 W' }) C
接着我们在打开的记事本中一字不差的输入以下代码:" x7 ~. \5 N, R$ v! i; r
- P/ m! w; T2 s' P& d# l$ B$ c
Windows Registry Editor Version 5.00; `" r# X# `% X) g, _
/ C2 r( a. |7 |0 O1 C; Change Extension's File Type
. ?9 \: d5 y x6 ~) c! g( t7 l' p1 x- C3 ~! ?9 N1 m9 E
[HKEY_CURRENT_USER\Software\Classes\.jpg]
; J* w' t& w: {% X7 \0 G B5 \: q- Z+ ]; g1 k; q$ C D
@="PhotoViewer.FileAssoc.Tiff"
+ P) I5 T$ Q1 U: {" j
, n2 n' a8 s0 m) c; z1 }' h2 d; Change Extension's File Type
/ F2 p! A5 W! g' W
* O* z( X2 l$ H4 a* s8 W/ k[HKEY_CURRENT_USER\Software\Classes\.jpeg]
+ m. Z7 {) a* s$ \) a5 C- ^" I" S& { ?
@="PhotoViewer.FileAssoc.Tiff"! f$ h* l6 l. t, t9 s
; c7 \7 E* O5 @' m) ?' V( s
; Change Extension's File Type
' b9 B3 A# A0 b9 u; C' V* Z; Y/ M$ t$ a
[HKEY_CURRENT_USER\Software\Classes\.gif]8 Q3 }1 T! d, i Z
, i+ f- x9 G9 l+ w, N1 p% ], Z
@="PhotoViewer.FileAssoc.Tiff"
- @: N8 g& _, O) ]
' n2 h% J7 D; u; Change Extension's File Type
# A& h% m! K$ `6 l! X, ?2 C$ L, [6 p' j
[HKEY_CURRENT_USER\Software\Classes\.png]5 o, _% \5 l. Q+ q$ I- \
6 [2 W r0 ]% R@="PhotoViewer.FileAssoc.Tiff"
" q0 X( A4 C- L% T- e* X2 }: J( b* d9 M c5 }/ o
; Change Extension's File Type
( a' N6 j( L) A" V5 y; r6 F
" m& g4 S) u; N[HKEY_CURRENT_USER\Software\Classes\.bmp]
& Z/ I/ K& K! H" K v0 S8 X: H# y+ O0 x9 m, r& Q
@="PhotoViewer.FileAssoc.Tiff"! ?9 f* A, P8 D3 v: @
: Y3 F. y* ]6 U* n8 O
; Change Extension's File Type( p4 X. H2 }8 N+ e
1 g$ c) [* F( I! u c8 V4 o
[HKEY_CURRENT_USER\Software\Classes\.tiff]
9 b9 c( o( Y/ f) L3 S
' J3 u6 q" {; E2 c5 y@="PhotoViewer.FileAssoc.Tiff"5 D' y. e W4 `" N1 @: Z& D. e
8 T5 f( e- O5 C, c; Change Extension's File Type
- b7 U# z( `$ k4 {5 N9 J1 ^5 {
6 O4 \, J( t! K[HKEY_CURRENT_USER\Software\Classes\.ico], ?. l7 ]1 |7 @& L, ~, Z
1 \* T9 U! R6 v. h/ ~
@="PhotoViewer.FileAssoc.Tiff"- I5 w8 T, l e* o$ I
2 _5 C5 {, s' ~0 E. g& \另存为桌面,注意一点就是保存的时候保存成.reg格式4 o/ X3 [# G9 T/ O' g; U
再运行,导入到注册表即可 |