首先,我们打开一个记事本。然后在新建中找到文本文档就可以了。
1 X' Q& s$ V/ f' }% O. g+ O7 i, t' R
接着我们在打开的记事本中一字不差的输入以下代码:
% j$ \5 H) u# w e4 T& Z. t2 t
) {4 t; C3 ^! g0 tWindows Registry Editor Version 5.00" t6 e, Q: c7 P4 f- P; k# x
& U* {: v9 j$ |) s3 ]9 |' }; Change Extension's File Type* {: t: c. T4 n) e
( y' g1 m1 A3 j3 f' j$ U D) e# M+ I! E[HKEY_CURRENT_USER\Software\Classes\.jpg]& p/ _' U/ C# ]; @9 l2 ~6 A& U: L
, C9 s( s/ s+ ?3 j@="PhotoViewer.FileAssoc.Tiff"
# F1 O a# \2 ]) M
8 K) o8 X8 i0 r6 F' ^; Change Extension's File Type6 i- U5 a, {' w
% w2 M- K5 ^( D, e: u& d: X[HKEY_CURRENT_USER\Software\Classes\.jpeg]! h4 n" m: n1 A
0 [, Q- ]$ G3 A' `1 V l5 t$ J
@="PhotoViewer.FileAssoc.Tiff"8 W/ V+ K# a; Q4 m7 G1 \4 b# I, X
% R9 b' V9 C9 V$ i1 i8 b; Change Extension's File Type+ s5 g# E# @ a( y, n* X
/ ?/ f0 ^! x4 Z) [$ U! B
[HKEY_CURRENT_USER\Software\Classes\.gif]
; [4 l/ n6 g- C/ H7 x8 _* `
3 g" Q+ _) y" U4 L4 U" j4 ]! y@="PhotoViewer.FileAssoc.Tiff"& v+ V9 m3 L4 @+ f* X1 t
) K h6 k9 `/ q' f$ j- Z( f8 x
; Change Extension's File Type
. S& H% G6 i" w9 D% f) y0 U
' W/ X( X, {: ^$ z( L[HKEY_CURRENT_USER\Software\Classes\.png]3 G( J% v4 I+ \ C9 [# i$ u
6 l& E1 ]2 x/ s: z@="PhotoViewer.FileAssoc.Tiff"1 E5 J4 d6 h3 {( X
E* [$ L4 ?% N" L
; Change Extension's File Type
- O0 t. J; v0 y/ _& y+ z) c* c) h3 _3 k: _: I
[HKEY_CURRENT_USER\Software\Classes\.bmp]
. a2 Y9 C4 v/ z' I* W: H
% E' g' u$ `6 j$ H0 z- l@="PhotoViewer.FileAssoc.Tiff"8 s: A8 E+ Z6 d* X/ D
2 B. P" C: ~+ d( a' a4 a6 ?; Change Extension's File Type: ?% W2 t$ S# h/ @1 s7 t
' O* }% M; o6 u, E1 N: v8 |4 ~+ A[HKEY_CURRENT_USER\Software\Classes\.tiff]2 i9 E- b4 y& Q% l
5 @* H9 B3 T5 m/ t% h- F( K@="PhotoViewer.FileAssoc.Tiff"$ `2 G; L1 b! M# W7 A9 R
+ X2 ?* O; P5 r( Y& Q
; Change Extension's File Type
8 P2 H* i( S* C; f2 U8 h2 q5 e6 J4 n. t; N
[HKEY_CURRENT_USER\Software\Classes\.ico]
, w1 B( h% [3 g& l9 L
[# w8 ~! g$ e5 Z; z@="PhotoViewer.FileAssoc.Tiff"
* [6 [+ T, c& t0 a( ~: x1 @. Z; Z6 P9 u! G# m( T" V. T' I
另存为桌面,注意一点就是保存的时候保存成.reg格式
$ r9 I: u* _2 E) P: p再运行,导入到注册表即可 |