首先,我们打开一个记事本。然后在新建中找到文本文档就可以了。
$ M9 n" R' }' c' ?! O: K
* s* J: e! L) g接着我们在打开的记事本中一字不差的输入以下代码:+ j7 ^) u. d' T: _7 w- H" T9 g
+ Q: [5 `' W) fWindows Registry Editor Version 5.00* {! s: Q6 S4 |: G
" L4 {9 z* [6 \, V. k; Change Extension's File Type
; h; \9 o- Q0 [3 |& R- O" T+ z) ]
" a- |+ Z& U( v6 s[HKEY_CURRENT_USER\Software\Classes\.jpg]
( t( ?& c. i/ J0 L! T* {3 O
# G9 @$ ?5 p/ w, B1 \' R2 i@="PhotoViewer.FileAssoc.Tiff"" x c: S: i8 g3 J2 | P9 f R8 ]9 g
* f( R9 [+ o0 H: q; [( c
; Change Extension's File Type* c$ m% c9 _& o6 ~+ A, ?+ Q7 M; Z4 C
4 t/ Y; k4 l' o) t6 Z
[HKEY_CURRENT_USER\Software\Classes\.jpeg]
`. m9 t9 D) j' n5 a- C
$ f2 f4 ]) \! A2 R z2 d4 F@="PhotoViewer.FileAssoc.Tiff"
. V* t2 _8 a* w: l1 y4 c
' s$ g5 m2 P1 m( f- N7 |: m) g* @; Change Extension's File Type
; d( f( U" @, J+ W @, z
% m( T6 W1 \& P& D, I0 H[HKEY_CURRENT_USER\Software\Classes\.gif]
) W6 e) ~+ n9 y- @1 v" j/ R ] E3 L# y# J) |, T* P$ A
@="PhotoViewer.FileAssoc.Tiff"
% o: g+ ^4 U1 ~8 ?5 P3 `4 E5 t# A" @
& B# o4 G! L/ @) ~; Change Extension's File Type
/ I4 k5 Z* h( q/ O; a5 }# p" B. P; x! y: l
[HKEY_CURRENT_USER\Software\Classes\.png]
3 K% z9 ]$ k1 V0 K7 O1 t+ ]% x6 d
6 p' L7 _. R2 {5 N; {@="PhotoViewer.FileAssoc.Tiff"& j# y2 p5 u/ f1 R2 {/ A1 {
9 ~/ Z3 U, F) O0 m4 [+ w
; Change Extension's File Type
4 J1 R5 i$ D' j e" y5 y) n/ \
, w+ V* r t z- U% l- y% Y( L[HKEY_CURRENT_USER\Software\Classes\.bmp]( A0 l2 L2 ?* \9 r1 C1 L
6 T4 o+ ^/ s1 {. g! m8 Q# K: q6 Z@="PhotoViewer.FileAssoc.Tiff"
4 \" K/ Y( v/ }# i# T# K/ m
2 b; }6 y3 T7 I5 }; Change Extension's File Type5 Y" m3 _ O( F9 T; G. i$ t L9 g5 m
; L, i5 L' ^& p' t8 S: }1 i[HKEY_CURRENT_USER\Software\Classes\.tiff]) H2 W& g7 ^& o2 J4 ~
) a% {, @6 u3 L. p3 Q6 c6 I
@="PhotoViewer.FileAssoc.Tiff"& w' \8 C& w# L" ~1 z9 c
- \- h7 t( t! i n2 S3 Z
; Change Extension's File Type6 V3 N w5 d" {+ G9 W
9 t @; P- m6 g+ s. l
[HKEY_CURRENT_USER\Software\Classes\.ico]
4 m, I- _0 q! k6 U, e; C# K
; L1 m8 e6 r; H6 ^0 }: E) i6 O9 O8 ^* @@="PhotoViewer.FileAssoc.Tiff"' P% i1 Y! d" {) l
* u" O* h6 @, w( ^. K' }- r另存为桌面,注意一点就是保存的时候保存成.reg格式
: [8 C0 a* j; C* l2 m/ P/ q, X3 D e- j再运行,导入到注册表即可 |