首先,我们打开一个记事本。然后在新建中找到文本文档就可以了。
' b* O# [8 A7 n! w! ?9 ]8 b1 G
4 Q+ d2 m. I& D' c! P- f, m; w接着我们在打开的记事本中一字不差的输入以下代码:
- F' K) z0 V2 ~; |8 B2 g( F7 t6 @2 U& z) B5 ?
Windows Registry Editor Version 5.00
9 Q O4 q1 Z [* o; v ^- z( z6 |
; Change Extension's File Type" ^% ]. ?9 d5 U4 K3 J
5 U0 ~/ Q. i& e- k" i1 i
[HKEY_CURRENT_USER\Software\Classes\.jpg]
{# ?1 F5 j# T0 l" k( u% E, a
" b; _) r# p6 b4 a$ j' ?5 W@="PhotoViewer.FileAssoc.Tiff"
0 r8 _( H4 H v/ I2 y4 L
+ w; [, R/ f/ R+ p; Change Extension's File Type
7 P: H# V2 d; G! d# ]- G
2 w1 E+ E# n' ?! E1 t[HKEY_CURRENT_USER\Software\Classes\.jpeg]
7 \9 c& g+ A9 R( V1 `0 q4 d
! s* t# l4 A8 @@="PhotoViewer.FileAssoc.Tiff"
& b& P8 U! o0 y0 z" l, {" [9 i n( X$ M3 [. r& d) i
; Change Extension's File Type1 @% V9 Q; j* S# U
& X9 \+ d* u0 ]: |5 k8 r+ S, e[HKEY_CURRENT_USER\Software\Classes\.gif]7 Z4 k8 x+ X# O+ x, L1 E
! o" N+ E* B2 n: w; C: ]@="PhotoViewer.FileAssoc.Tiff"
: X: k2 z- r/ I8 y2 y% b! d, K6 g
4 |* W* ]2 O% Y8 ^! v" a; Change Extension's File Type) Z8 Q* e8 [5 a! I
2 V y& g+ ~: E; d3 G$ S[HKEY_CURRENT_USER\Software\Classes\.png]
4 |+ S' x9 f: M; f! s/ d9 N9 t5 x! M+ P* o! C, `- C# ^
@="PhotoViewer.FileAssoc.Tiff"
, ?2 H. U8 M" r8 ~& ]' n: J
" }3 q2 y- u M5 ?; Change Extension's File Type
' N- y g5 p% x; N5 n- N" z8 P z) }+ {0 ^8 R& @/ m6 d2 D6 t8 Q) e
[HKEY_CURRENT_USER\Software\Classes\.bmp]
7 r$ J2 s7 B* u( y" H4 g# p' @# I6 k9 H5 `; Z
@="PhotoViewer.FileAssoc.Tiff"1 N- o7 b9 s& g# m8 J8 n, l/ A
$ w' _4 l+ i- ~; Z- U: U% B/ Q! |
; Change Extension's File Type
3 ?8 Y7 N( Z- Y1 _. i5 j$ r) m$ x) `0 q# s' p3 N
[HKEY_CURRENT_USER\Software\Classes\.tiff]
) o* s" F6 A0 {) v# E0 t, }: d' d7 t* s z- [6 p8 D4 Y( k
@="PhotoViewer.FileAssoc.Tiff"
, y5 ]3 a: @9 I) V2 B) ~$ l1 X+ i
4 f3 n" E' l A' `5 e( g4 {- [# |$ Q; Change Extension's File Type" ~5 l. K" h* f" p f
! r2 Z" j. V: ^$ ]( A9 E5 T. e
[HKEY_CURRENT_USER\Software\Classes\.ico]: c1 V+ h. x4 z& c4 o' P' ^+ m3 H
- Y& r( i8 [1 m6 M
@="PhotoViewer.FileAssoc.Tiff"% M3 m1 h8 ~# S5 j# }/ X2 m
1 K0 K3 p5 y+ ^+ l2 Q$ [7 V& k5 O5 {
另存为桌面,注意一点就是保存的时候保存成.reg格式
* N2 R, R9 z1 \4 i再运行,导入到注册表即可 |