首先,我们打开一个记事本。然后在新建中找到文本文档就可以了。1 R* N% j e4 n* I6 [, o$ [. u
0 i s; Q8 b( `8 E8 R; F接着我们在打开的记事本中一字不差的输入以下代码:
. n, h7 i/ N: t) Z
- A9 r) P' o$ U8 |0 SWindows Registry Editor Version 5.00
# ]. F7 \$ E) W0 A5 b) f
* v: j) u* H& f. J" ^/ V2 K# T9 i; Change Extension's File Type% C7 r7 o) q4 z% N+ c
) A2 t: U7 N' z! d& T$ A6 `1 ^! Y[HKEY_CURRENT_USER\Software\Classes\.jpg]
# m" `+ v! B: M/ q% U3 m: c% n( x1 J! E1 J
@="PhotoViewer.FileAssoc.Tiff"0 u. z4 v* K$ k& n4 D" W' K! E. b( B
* \! H! s* S% y9 @! s3 i6 D \; Change Extension's File Type
, ~8 Z# ^( B2 u3 @
# E$ y% t, _" J1 V, p% a[HKEY_CURRENT_USER\Software\Classes\.jpeg]
$ D6 o8 ]/ F2 q9 b9 y& ]0 A# {* |4 r2 A0 o! _
@="PhotoViewer.FileAssoc.Tiff"1 k: E- h1 F- J7 _/ `" l7 e+ O1 S
" S# D- W0 A% O, f4 k( d; Change Extension's File Type
8 o4 g/ Q! S+ A. h' n
% J8 h7 U: @ ~# A[HKEY_CURRENT_USER\Software\Classes\.gif], m; i1 y4 f/ c8 ^6 J5 F% a
0 x2 X* Q, X. \6 B+ P; {
@="PhotoViewer.FileAssoc.Tiff"8 a6 v2 \! |# A. p5 S% D
W; o$ r) C7 J
; Change Extension's File Type! Q0 B9 y; f% `, A, {2 B3 b
V2 p- S; J4 ^0 n" D1 y[HKEY_CURRENT_USER\Software\Classes\.png]
1 ]& u7 K$ Q9 H) p+ V% ?1 G4 g2 w# ~, M; ^# S* C" B2 M$ L6 ~
@="PhotoViewer.FileAssoc.Tiff"
, i& g2 N- v# q9 @3 c. z% I
* ?" s# S5 G' S- @9 u" I; Change Extension's File Type5 @+ @9 h9 W, S: V8 y
- l9 k% ]) S3 S3 d; \1 P
[HKEY_CURRENT_USER\Software\Classes\.bmp]6 ~: o6 z1 Q; c' j0 Z
P1 N2 b. g% |* B# D
@="PhotoViewer.FileAssoc.Tiff", G8 U7 H3 U: ?+ ^5 I' {
8 s/ h; m/ e. E% e; Change Extension's File Type1 }/ Z G) s$ ^
8 z; L7 m1 [" J( G[HKEY_CURRENT_USER\Software\Classes\.tiff]( i) z6 X2 c+ C4 ]: E, z4 g
8 [: F( W ]7 h
@="PhotoViewer.FileAssoc.Tiff"
8 g: } y) d5 t! O, K' A, d' C" m4 H
( f5 F: w! l) ]. ~; Change Extension's File Type/ e0 E2 f; I7 X
; j& T. m7 U8 h E
[HKEY_CURRENT_USER\Software\Classes\.ico]
/ d, u: s4 e; ]7 p) Y. P
1 w/ H1 {& z" o2 f, ~@="PhotoViewer.FileAssoc.Tiff". K- S5 |* K0 r, h6 A ~: a5 L
, V* O# P+ l6 w% M, V+ Q7 ]; b另存为桌面,注意一点就是保存的时候保存成.reg格式
0 M. f3 N- D: F2 c" O4 g再运行,导入到注册表即可 |