Jump to content

(SOLVED)How to change filetype association?


q123

Recommended Posts

:albert: after seeing some .reg files in my registry i made some thing like this :rolleyes:

Windows Registry Editor Version 5.00

[HKEY_CLASSES_ROOT\.abc]

@="Mplayer"

Windows Registry Editor Version 5.00

[HKEY_CLASSES_ROOT\Mplayer]

@="abcfile type"

[HKEY_CLASSES_ROOT\Mplayer\shell]

[HKEY_CLASSES_ROOT\Mplayer\shell\open]

[HKEY_CLASSES_ROOT\Mplayer\shell\open\command]

@="\"C:\\Program Files\\Mplayer\\MPlayer.exe\""

with that i was able to open my .abc with mplayer by default :dancing:

:blush: my questions are:

1.Is it right or need to change the code

2.what if i need to associate the app with .dat,.vob,.mp4 .....etc create a reg file for all the types

Edited by q123
Link to comment
Share on other sites

:wub_anim: thanx alot for your support

hmmm to open that file.dat in that Mplayer the working commmand is

[HKEY_CLASSES_ROOT\Mplayer\shell\open\command]

@="\"%ProgramFiles%\\Mplayer\\MPlayer.exe\""%1\""

else just player is opened nothing happens

Edited by q123
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...