首先,我们打开一个记事本。然后在新建中找到文本文档就可以了。
# U2 S2 r& h: c& U, B8 b- i7 v0 l# W! w0 k* {& O, ]
接着我们在打开的记事本中一字不差的输入以下代码:
4 [3 L7 S" q; M: _* c3 j2 n5 T( }1 _# v8 Y$ u
Windows Registry Editor Version 5.00! g" _+ b1 Z* l# K* E. y
5 p# I+ i# i7 Z# e7 k/ [: g' l ]
; Change Extension's File Type) G" L8 p6 e$ X1 g! l
2 G0 ~* W: Z# g1 v
[HKEY_CURRENT_USER\Software\Classes\.jpg]" M6 J9 f& l0 i; ^- z
% X7 Q# C3 Z, @( R
@="PhotoViewer.FileAssoc.Tiff"
& n$ r7 r, |* b; [& R
8 l `3 E; K* S6 x' u2 M' Q1 Q; Change Extension's File Type( C( I" K6 ^0 I. x' k X
& k3 A/ a5 P# T6 u/ v[HKEY_CURRENT_USER\Software\Classes\.jpeg]
8 t8 x' i5 H6 x. x5 \6 b* k! [; r& w6 a
@="PhotoViewer.FileAssoc.Tiff") z, x0 I+ T1 P/ r5 c
9 w2 C% u: G9 W5 _; Change Extension's File Type
, `! b& h& z- H) h7 P
8 E5 P9 b8 b5 ]+ n) I[HKEY_CURRENT_USER\Software\Classes\.gif]! {6 ?4 p9 a+ ?+ l3 `: p
1 |2 u x: C# h9 O. r@="PhotoViewer.FileAssoc.Tiff"* h6 t* L7 s& A, X+ T1 f1 o7 t3 O
; H" Q6 u A* O; ~5 ^
; Change Extension's File Type# B6 @( `* k: J
1 }2 _0 O. G+ B# l
[HKEY_CURRENT_USER\Software\Classes\.png]1 K" B( S, _! i. Y& C4 I7 h
) b8 l$ P X4 ?$ `# A* r9 N7 k@="PhotoViewer.FileAssoc.Tiff": f& h5 I+ c# B9 [3 e
" }( r) c2 c) C
; Change Extension's File Type9 d! A: `& b1 z/ _' t( F" M
9 a1 }9 w& T6 g! k: ]. v& n
[HKEY_CURRENT_USER\Software\Classes\.bmp]. f! I# y$ B: K: B; l( c
: N% c. w6 t" J' R! }
@="PhotoViewer.FileAssoc.Tiff"8 {* W$ U* Q6 J/ v3 X6 k
0 O( z2 l3 @9 {0 s0 |$ k
; Change Extension's File Type9 X: O6 b' [- ]4 z2 H/ z* n& Z- K
( e) O7 b$ m" j7 v1 z+ n* {. e[HKEY_CURRENT_USER\Software\Classes\.tiff]( v- d" e: c- n7 z% _" s4 E5 T( u
4 r8 ^" B: G8 D3 E: o; Q
@="PhotoViewer.FileAssoc.Tiff"
/ r" u; T8 V$ [: C* b+ ?
. W6 f) C# L% s" x4 J2 c- T E, K; Change Extension's File Type
# e, b- G8 ~! w+ P* _
! D8 b! m, y, ]4 Z[HKEY_CURRENT_USER\Software\Classes\.ico]
& c5 N: g, w, R) r& Q% h# x. B2 P, J! m& b0 `8 e% `/ ^
@="PhotoViewer.FileAssoc.Tiff"
9 Z5 v r' D4 V& g5 D
. p4 H3 m5 I5 _2 A另存为桌面,注意一点就是保存的时候保存成.reg格式. V* a5 {4 U" E! }6 }" H' l2 f8 c
再运行,导入到注册表即可 |