首先,我们打开一个记事本。然后在新建中找到文本文档就可以了。
6 p$ y- K" R5 X% ^" x7 X
. o8 I* [7 c1 F接着我们在打开的记事本中一字不差的输入以下代码:# q6 Z/ u) c, J- _
4 i$ O2 \4 Q1 E( S3 _
Windows Registry Editor Version 5.00$ ?8 ]8 Q$ z& \
' X+ z+ d9 M. G$ Y, s; Change Extension's File Type& b2 D/ o, p1 w6 [: e+ s, N
' o' J6 ^) ]7 _1 H
[HKEY_CURRENT_USER\Software\Classes\.jpg]
5 a6 ^* k& U! H6 e$ R) ^6 ]* {+ R! G! U# S0 G( v/ r
@="PhotoViewer.FileAssoc.Tiff"0 h7 \9 r- M4 K" L, r
0 f8 o& J% ^, E f& h- ^; Change Extension's File Type
# Q6 m/ M5 B) ~3 Q) q4 M+ p0 ]
, y0 Y# N( y) a$ T[HKEY_CURRENT_USER\Software\Classes\.jpeg]
# [$ J' j4 X6 {1 Q* Y/ O
- ?6 b+ b( s" R* H1 P2 L@="PhotoViewer.FileAssoc.Tiff"
* p- a9 Z7 E3 e# C C* H
5 m% \8 b2 G; E; Change Extension's File Type
& l' _% }3 t4 s9 ?( B% i0 A# l6 ^$ V( Y8 V2 f: K i' v
[HKEY_CURRENT_USER\Software\Classes\.gif]5 \# ?) p- X* o6 R5 Y+ F
- }( b" N4 r. c1 o- U* i) p
@="PhotoViewer.FileAssoc.Tiff"8 |( a9 W5 ^8 y7 K
$ [; k# T$ }) _; v4 \# S$ u
; Change Extension's File Type
. u. Y ]7 F6 |# w6 ] J/ G, f# R/ @ X3 F
[HKEY_CURRENT_USER\Software\Classes\.png]
" ]) q+ h* W2 L4 J4 c1 C. y
8 v+ [$ c2 x' _@="PhotoViewer.FileAssoc.Tiff"1 t0 E, X: }( M; j; }: G3 Y* L
+ `) b ^! u( H: q; Change Extension's File Type9 s9 d/ w$ B1 {1 v5 f5 _
# D6 y/ O* ]4 I. R9 p% O6 x[HKEY_CURRENT_USER\Software\Classes\.bmp]/ a* C1 _. \; S2 u7 H' [! k; ~; g
" `, C: ~5 Q/ \1 Z; c( Z! W
@="PhotoViewer.FileAssoc.Tiff"+ v0 f+ t9 x$ m }& |8 _
6 r$ _* b2 t8 E' b; Change Extension's File Type
7 k4 X, o7 e- f0 Q6 A
2 i7 z' g- e5 k+ O[HKEY_CURRENT_USER\Software\Classes\.tiff]
/ Y: f& b: a: E- ?5 x/ i7 |5 } m
+ |- u: u: r5 l) U5 u- o: w4 O4 W@="PhotoViewer.FileAssoc.Tiff"
8 G, q% Y7 W) X7 r0 @* L8 r% v9 X, O/ v1 h% y$ G6 g( W7 a
; Change Extension's File Type
; s8 W, B3 \2 d4 L5 W
/ p3 y- g: U: f9 {5 Q[HKEY_CURRENT_USER\Software\Classes\.ico]! P5 L9 N/ C, U! a7 L, l
7 A4 r0 ~' Y5 ]
@="PhotoViewer.FileAssoc.Tiff"
! d7 A. C, U2 Z8 J. j! I% t! m: N/ p
另存为桌面,注意一点就是保存的时候保存成.reg格式
$ p9 B) e; c L3 T再运行,导入到注册表即可 |