首先,我们打开一个记事本。然后在新建中找到文本文档就可以了。
3 C. h+ N" ]) U- z9 S# ]$ z4 y0 W3 J+ P
接着我们在打开的记事本中一字不差的输入以下代码:# n7 D$ Z6 x2 E Y% C, r, C
6 N/ q, K4 y _. _& _
Windows Registry Editor Version 5.00
+ ]0 @. S/ ^2 q0 ~+ N% U6 E0 P# g- m4 R8 _! V* z2 `
; Change Extension's File Type/ F5 n/ k8 o8 T* C3 S
! } C$ D0 e ?, L5 P7 ?[HKEY_CURRENT_USER\Software\Classes\.jpg]2 A5 l. ~% t5 J7 ]
0 D/ y# R5 O! c
@="PhotoViewer.FileAssoc.Tiff"
& D; a+ Y* A2 `/ _. t! X% o7 e; f' f9 Y( O
; Change Extension's File Type+ w; g2 n0 X6 b* x+ ~
* v# l9 Z# U& S1 C
[HKEY_CURRENT_USER\Software\Classes\.jpeg]
3 W! O- O, z* [+ [" A+ l, O; m5 ^
@="PhotoViewer.FileAssoc.Tiff"* O: n, M5 e$ e- B4 l# P
1 a! S4 E+ k4 y/ Y: |; Change Extension's File Type
* C5 i% o3 x z" j- w: t
: o, y9 y- Q! {0 L[HKEY_CURRENT_USER\Software\Classes\.gif]
+ \3 G( Q% u5 v' Y
% ]1 }* z2 c+ D& g- W@="PhotoViewer.FileAssoc.Tiff"
' i: w' t% J4 I" E9 N) u
9 x% [* S& w3 A* i' r$ I9 L8 h% t; Change Extension's File Type* I' L5 h$ }8 d( w* [2 q
& P9 `2 c$ k2 H5 O[HKEY_CURRENT_USER\Software\Classes\.png]
: I8 `& u' l5 h* \9 B y/ ?5 ?" K! {" c+ a
@="PhotoViewer.FileAssoc.Tiff"4 w% }3 \- N/ L% d" g/ _
+ ^4 R4 k" t+ i; Change Extension's File Type
" u9 E* Z/ r, S; z# g% M% H* t" e3 m, {, {0 J- U" \, q. ^
[HKEY_CURRENT_USER\Software\Classes\.bmp]
& f0 M# r0 q; I7 j- E# f/ @; R+ m
@="PhotoViewer.FileAssoc.Tiff"' o/ q2 k' C5 t% R( H
4 a/ U* D6 o6 t; u. F
; Change Extension's File Type/ ]( Z% @; N0 n% q5 M
- {" S1 Q5 z' n" [& ^
[HKEY_CURRENT_USER\Software\Classes\.tiff]
; u! t+ K0 v: L1 Z2 L* w+ k9 p
' @7 Q' s: ]! B; J# l5 J@="PhotoViewer.FileAssoc.Tiff"
0 @6 } t& t' n, L" K; G0 |: U
* C9 x `' V( t8 i0 @% Z; Change Extension's File Type
, \6 @& F7 R5 r: W* G M' m$ F g
4 \* T8 R! T( F# R& e( b3 s. a; b[HKEY_CURRENT_USER\Software\Classes\.ico]
6 Y1 R- g5 j9 K/ b& r) c/ f: G0 O6 P2 K. i
@="PhotoViewer.FileAssoc.Tiff". ~0 f9 l. i$ Q
: O- I5 E8 D7 o& G) E& w" Q
另存为桌面,注意一点就是保存的时候保存成.reg格式
2 h5 b6 A8 R8 F$ |再运行,导入到注册表即可 |