首先,我们打开一个记事本。然后在新建中找到文本文档就可以了。. |! C* s1 [0 L7 W% K
, ?5 a' _! J4 B3 {* _) t4 J* [
接着我们在打开的记事本中一字不差的输入以下代码:
/ b1 q. N* i6 B" E
% ?9 ~8 B+ B1 L6 }0 x JWindows Registry Editor Version 5.005 b. X+ U- V9 y8 D
+ X3 O2 n2 J+ |0 ^$ l" @/ c
; Change Extension's File Type4 {7 g& A2 N5 D) O: ?% \8 t
. s; l: W+ M0 r
[HKEY_CURRENT_USER\Software\Classes\.jpg]
+ j) D" X* E) k: ^+ @9 C l/ [
: D4 F$ P2 _! V@="PhotoViewer.FileAssoc.Tiff"9 v7 j" M5 e% z# q2 ]: A% T% u8 t. i
4 ]5 Y8 o& S( u% g; Change Extension's File Type1 ]$ X7 X& j. `% u i
& O- P8 B2 R+ I# x[HKEY_CURRENT_USER\Software\Classes\.jpeg]. V1 @) p. p4 d
% _, P( s7 \: C9 y; k4 A
@="PhotoViewer.FileAssoc.Tiff"' M5 |( g2 i. G! t8 _: m- b' `
- E; A' r! J1 N, j
; Change Extension's File Type( S; I+ ?7 i; X
7 P3 Y- K6 ~1 C. w8 w/ ]
[HKEY_CURRENT_USER\Software\Classes\.gif]' t7 ], p Z8 D e( d: r. N, T
- g, @! C A% D@="PhotoViewer.FileAssoc.Tiff"3 S0 V+ C% x' T: r5 U% ]; {1 \
4 l/ y& g R& A# `6 Z% ^- n; Change Extension's File Type$ P% v' F; X) L! _9 v7 p ~
: N" k# s; Y, D[HKEY_CURRENT_USER\Software\Classes\.png]
8 @* e; m0 X6 s3 o% E, p2 w+ @7 \; B. y) ]4 r
@="PhotoViewer.FileAssoc.Tiff"
# O! D) e- o2 B# G; P) X7 _; v) H s% D6 n
; Change Extension's File Type* d0 c8 P% t6 L& O% B' T
: @! T9 ]) y% D% L+ J4 y, u[HKEY_CURRENT_USER\Software\Classes\.bmp]- P) w0 x$ B ] d
4 i! M) O9 Z6 T) k( l* s. w$ u3 d7 Q@="PhotoViewer.FileAssoc.Tiff"
/ a/ F" }1 i1 m" t( v2 F+ Y! G9 e: n1 _7 t1 J
; Change Extension's File Type& Q% A+ Q" \1 z* ?; O
$ B# [" a4 O1 h7 _5 O7 e$ @0 P2 i[HKEY_CURRENT_USER\Software\Classes\.tiff]* U& y4 i7 {3 o5 W) b6 n+ {
5 F. z; w9 [2 V5 c1 C& t@="PhotoViewer.FileAssoc.Tiff"2 H) b" I1 s+ o4 i
' E" f7 X" P% F% a' c1 R h4 |" k
; Change Extension's File Type, t, N6 X5 E2 r6 ]
* b4 `7 q% V6 l" q. J6 |: I[HKEY_CURRENT_USER\Software\Classes\.ico]
) @0 Q7 {# t0 p" p; {$ I% D5 S7 r/ B! p, P% Z
@="PhotoViewer.FileAssoc.Tiff"! m2 M0 H7 H; T. I6 {' q
$ s3 J( A" g$ `+ m' q; [5 I另存为桌面,注意一点就是保存的时候保存成.reg格式- z2 e8 C7 o1 ?* f; [3 r8 Y: v A$ J. [
再运行,导入到注册表即可 |