首先,我们打开一个记事本。然后在新建中找到文本文档就可以了。0 M( k% F) [ _
0 E U @) K2 o* j- I/ |4 ^接着我们在打开的记事本中一字不差的输入以下代码:- E! p) x4 `- K' N" q3 S- K2 _2 V
3 y$ `9 ?' y5 k+ g# ^7 y
Windows Registry Editor Version 5.00
: a/ }4 Z* y4 h% a8 q0 Y- F# ^! L z7 [
; Change Extension's File Type
+ E0 D/ M" k9 @& ?; L( E/ I2 Z9 g3 J. ]: @+ \
[HKEY_CURRENT_USER\Software\Classes\.jpg]7 \% A: s* _8 p! h4 E
) ?+ |0 v2 G* c- p( G
@="PhotoViewer.FileAssoc.Tiff"
. D7 A- [& _% m7 ^( \7 X: Z) _0 C2 E3 F
; Change Extension's File Type
/ J7 P# H* [) i2 W3 o* x9 F5 {( y7 a6 l( F5 h2 K
[HKEY_CURRENT_USER\Software\Classes\.jpeg]# n: D3 h( h5 f9 S
$ _# \% u* T2 e" B; \1 X9 \@="PhotoViewer.FileAssoc.Tiff"
; A ^$ |7 J7 G2 k$ n* g; \
4 p' v. p p1 H' G9 r4 ]6 q; Change Extension's File Type
- n6 W% L' M- E. j2 v, L$ E. C# M( S
[HKEY_CURRENT_USER\Software\Classes\.gif]$ v; Z$ l* Q: A3 `
+ p6 j" y3 f; ^' \, `3 D+ V. F2 @
@="PhotoViewer.FileAssoc.Tiff"
: a3 M. d% @$ ~( t4 _0 `; `9 r v+ k2 _5 c* m
; Change Extension's File Type+ q% i' w: n+ n1 B
& _( z2 J5 h! M# P[HKEY_CURRENT_USER\Software\Classes\.png]
. V, E0 B" K1 S/ f U" t4 c$ N/ [
@="PhotoViewer.FileAssoc.Tiff"& U; S; N: U3 F: J, S+ p# c
- [. u: M; W l) ^; Change Extension's File Type. c" e: W: W9 R
1 }( \! S5 d9 w/ L& B
[HKEY_CURRENT_USER\Software\Classes\.bmp]
: W) K& D: F I3 k4 ^, @
* s! H0 |$ G* P ~1 `! M@="PhotoViewer.FileAssoc.Tiff"- }3 X7 {& k9 p2 a$ j5 h
/ f4 a8 I* p4 f* |, x2 c; Change Extension's File Type ]. ^; m8 X2 U/ C. o; G% F
1 K/ `, G4 {1 k' K[HKEY_CURRENT_USER\Software\Classes\.tiff]: N8 p6 b8 R, L! Z7 Y) k" h* ~
1 t) W# ~. C+ U: u2 q' |0 ~2 z2 r@="PhotoViewer.FileAssoc.Tiff"
- ^/ N$ G9 b* L! c+ b
; ~, P7 ^% W% q0 v6 a; ?* O; X; Change Extension's File Type% {1 d- \4 w* d
W' ?, }( P" z5 c[HKEY_CURRENT_USER\Software\Classes\.ico]
( H9 A7 a3 i: k3 S6 c* u
- I1 G' l0 b4 [1 T@="PhotoViewer.FileAssoc.Tiff"9 I- k6 n8 K( G2 s
! ^5 a: B! c" X5 R3 ]% } V2 j$ ]
另存为桌面,注意一点就是保存的时候保存成.reg格式
4 g7 l: g! {. N2 o* D4 E$ n再运行,导入到注册表即可 |