SOLUTION: File Type Associations Fix

Microsoft Windows specific usage questions
Forum rules
Please post only Windows specific questions in this forum category. If you don't know where to post, please read the different forums' rules. Thanks.
insaint
New Cone
New Cone
Posts: 2
Joined: 11 Aug 2006 11:32

SOLUTION: File Type Associations Fix

Postby insaint » 11 Aug 2006 12:15

You would pretty much like to play your movies with VLC, but when you click that .AVI file VLC does not open it. Here is the solution - download the following file from one of the links bellow:

http://rapidshare.de/files/28986383/vlc.reg.html
or
http://www.megaupload.com/?d=X87PBT9Y

It is a simple Windows Registry .REG file. Double click it to associate certain filetypes with VLC. Click YES then OK to confirm adding it to the Registry. It is a simple text file that could be edited with Notepad. Here is the explanation of the contents of the file:

Code: Select all

Windows Registry Editor Version 5.00
This line must be at the begining of the file and identifies it along with the .REG file extension as a Windows Registry file. If you delete this line your registry file will stop working. So be carefull with it.

Code: Select all

[HKEY_CLASSES_ROOT\vlc media] @="" [HKEY_CLASSES_ROOT\vlc media\DefaultIcon] @="C:\\Program Files\\VideoLAN\\VLC\\vlc.exe,0" [HKEY_CLASSES_ROOT\vlc media\shell] @="" [HKEY_CLASSES_ROOT\vlc media\shell\Open] @="" [HKEY_CLASSES_ROOT\vlc media\shell\Open\command] @="C:\\Program Files\\VideoLAN\\VLC\\vlc.exe %1"
These lines create a filetype category "vlc media".

Code: Select all

[HKEY_CLASSES_ROOT\vlc media\shell\Open\command] @="C:\\Program Files\\VideoLAN\\VLC\\vlc.exe %1"
This line in particular points to the location of the VLC Player. Edit this to change the path to where VLC Player is located on your computer. Don't forget to use double slashes.

Code: Select all

[HKEY_CLASSES_ROOT\vlc media\DefaultIcon] @="C:\\Program Files\\VideoLAN\\VLC\\vlc.exe,0"
This line is used to asign an icon to the associated filetypes. Edit it if you wish to use a custom icon. Again don't forget to use double slashes.

A list of entries in this format follow:

Code: Select all

[HKEY_CLASSES_ROOT\.avi] @="vlc media"
The entries are in alphabetical order. You may add additional file types to associate with VLC or remove some of the listed at your preference if you want to use a diferent application to open them. For instance I prefer to use WinAMP to open MP3 files - so there is no need to asociate MP3 with VLC.

Hope this was usefull. If the Developers would like to use this simple file as a solution and add it to the VLC for Windows - I do not have any objections.

sfa
New Cone
New Cone
Posts: 1
Joined: 11 Feb 2008 15:00

Re: SOLUTION: File Type Associations Fix

Postby sfa » 11 Feb 2008 15:02

How do i get Vista to aknowledge this as the default player and not just something i have to click "Open With" to play ?


Return to “VLC media player for Windows Troubleshooting”

Who is online

Users browsing this forum: No registered users and 86 guests