首先,我们打开一个记事本。然后在新建中找到文本文档就可以了。4 r! P0 C0 V- x# c3 H
/ a4 s g3 a) \/ |0 \3 s3 K
接着我们在打开的记事本中一字不差的输入以下代码:
: r# |# r+ ^% X1 p. U/ I/ u# ]7 T/ V2 K# A) z2 P
Windows Registry Editor Version 5.00
: s7 a7 a: [3 Z \0 A% D
8 O! n" A! t3 F% f5 O# j; Change Extension's File Type
9 f* c7 B3 t2 G# y7 t7 p* j
$ C4 _3 X' p" x5 W$ a[HKEY_CURRENT_USER\Software\Classes\.jpg]
6 f" G8 i4 K! w$ q; j2 P6 v, t. B" L
@="PhotoViewer.FileAssoc.Tiff"( T- m( ~$ ^4 A6 a; N; [/ K, u
3 ^: t# u R( c" {- x4 f& b
; Change Extension's File Type
% C5 b$ ~" @3 e9 k2 U
l9 }6 T; k5 q& K[HKEY_CURRENT_USER\Software\Classes\.jpeg]
& @7 J# {2 O1 X, v0 P. z# J8 i' W
@="PhotoViewer.FileAssoc.Tiff"" p$ c3 x# q# b) L4 N
9 h- ^0 H, q k5 {. \2 k) Q; Change Extension's File Type
! E9 |9 K% x6 \- T4 O2 B: c" Q6 ?0 z9 e1 T( Q# `
[HKEY_CURRENT_USER\Software\Classes\.gif]
1 ` E A! u) a, c
" P. T2 T) C! P@="PhotoViewer.FileAssoc.Tiff"
8 e6 ], k7 n5 @* Q* U% ?
: F' ^ P; s3 u, B# K9 [; Change Extension's File Type
; o/ s! v. J3 }. T4 e
, y" X4 r6 a) W) ~3 i7 m[HKEY_CURRENT_USER\Software\Classes\.png]
+ B& t6 V5 ^" ~5 F! C
8 p7 m8 N6 e$ o0 H4 |, c@="PhotoViewer.FileAssoc.Tiff"* A# O$ q. E3 C9 c' d; i
2 g3 P; t1 }# D; D- _
; Change Extension's File Type
* Y) ]& ~+ j! t" T! }
: w! K2 @( n4 _) X3 f6 I: }[HKEY_CURRENT_USER\Software\Classes\.bmp]5 H0 t2 I9 V2 Q0 S
: ~; Y1 m6 g( @! i- f@="PhotoViewer.FileAssoc.Tiff"
7 [6 @: T m3 p2 @, W2 V" Y7 G/ o9 D3 p# [
; Change Extension's File Type
# z2 G$ T7 z# a; ]* t
7 h) O# z- O% ?( c% D7 P[HKEY_CURRENT_USER\Software\Classes\.tiff]
2 W, K& E& C) Z1 m/ s+ r4 k7 q2 V
3 r$ c9 D% k) v4 W8 i/ y@="PhotoViewer.FileAssoc.Tiff", t3 Y9 g& k M4 U* O
5 B5 e. A' K6 [2 \) ^; Change Extension's File Type* V3 K! S1 G0 }
: P6 V2 Q2 h* S& k; n0 K4 a[HKEY_CURRENT_USER\Software\Classes\.ico]
u; L" e( _8 t; u6 s/ n% r' E4 [4 v, P- x& ]
@="PhotoViewer.FileAssoc.Tiff" v2 P* Q+ Q/ Z) R" s
# B5 q; \2 q) f9 Y* a5 k
另存为桌面,注意一点就是保存的时候保存成.reg格式) u+ h+ G, c9 s0 b" Y$ R8 d
再运行,导入到注册表即可 |