首先,我们打开一个记事本。然后在新建中找到文本文档就可以了。
0 @! B8 V$ j1 z U: N
8 l" V% m: |0 y) i1 I/ A接着我们在打开的记事本中一字不差的输入以下代码:
7 N* m2 n& h% [* `9 @* c; W( t7 ]4 f: ^$ ^& E( F* i. \6 A
Windows Registry Editor Version 5.00
) B/ z, Q' r& H$ w ~9 F7 y8 K# k4 f5 ]
; Change Extension's File Type
' @- r, n2 U" Q: p& E' W, }
7 ?/ H" v9 ?6 K }) d[HKEY_CURRENT_USER\Software\Classes\.jpg]
2 |' N4 R6 z. K$ V7 \" e) S8 l$ k' W! ?: g
@="PhotoViewer.FileAssoc.Tiff"$ {" T, l: {; ?
1 F6 C5 A* |5 ^
; Change Extension's File Type3 r4 R1 _3 C' |8 G6 ~/ Z& `
0 M' h) L. ~) ~& w) k[HKEY_CURRENT_USER\Software\Classes\.jpeg]- L6 `0 Y$ @7 _5 G- ]: x1 U% {
5 D' \- Y( ?6 x$ @6 p% K8 u@="PhotoViewer.FileAssoc.Tiff"
* n7 s5 G$ w7 O7 O8 e
9 M5 }, Q& M- G( u5 s; Change Extension's File Type5 b4 {4 p8 |2 l/ b$ @ `, O
: k5 Y% N2 H0 K' a6 R: ~2 c! W
[HKEY_CURRENT_USER\Software\Classes\.gif]6 G( `* d. c: U/ P1 W/ i3 d
( }, s4 {8 N) g' O3 T@="PhotoViewer.FileAssoc.Tiff"* }; f* T: M7 _# ?2 f
% ?( u0 p/ x+ _: X( r2 ~3 w
; Change Extension's File Type
7 v& ?% E, j5 s$ c+ c; C" E
* J' p( C6 o4 E0 j[HKEY_CURRENT_USER\Software\Classes\.png]
$ ^' f: N" s" M `9 H6 e( r2 i- @! ^
@="PhotoViewer.FileAssoc.Tiff"
* n1 z% M/ I9 V# o& y' J0 A
6 r; C5 ^/ h$ g. M; Change Extension's File Type" c. Q1 Y9 J3 P
# Y5 x* R+ u$ h7 i, o9 Z/ E. q
[HKEY_CURRENT_USER\Software\Classes\.bmp]% i+ e3 Z2 V# i% j1 b' q! C, E
6 H0 m: U/ ]: c" k9 ^0 n7 N@="PhotoViewer.FileAssoc.Tiff"
! m. w/ [0 L5 I9 l% [2 T4 g( C: G" T9 ?3 Y- L
; Change Extension's File Type
! U+ O% d& R9 o' B) a) Z/ k. ~' x$ n
[HKEY_CURRENT_USER\Software\Classes\.tiff], m N* V3 u2 B1 m
2 l$ x0 T' c' Z/ ~@="PhotoViewer.FileAssoc.Tiff"# B. j5 S) y: Z! {. t6 r1 J: o
0 c* ?6 r* g7 u7 D$ f; Change Extension's File Type6 a8 q7 t, f, T2 K" E) w3 J
; [9 [8 A) N% Y+ w) w5 x1 f[HKEY_CURRENT_USER\Software\Classes\.ico]
! Z+ {3 c( T' e2 I& m: |# U6 M
8 j9 Q8 E& [: C7 z' h9 U/ [@="PhotoViewer.FileAssoc.Tiff"
! A0 l4 O0 f; s2 [# Z5 [4 K
/ _" j( f* B W, l$ }' m @另存为桌面,注意一点就是保存的时候保存成.reg格式( ~+ p; Z$ h6 x5 o4 Y# e
再运行,导入到注册表即可 |