View Single Post
Old 12th October 2006, 07:11   #2
jph6t
Major Dude
 
jph6t's Avatar
 
Join Date: May 2004
Location: USA
Posts: 756
In case you use do NOT use Winamp for video

One possible problem you may encounter with the above approach could happen if,
as myself, you do NOT use Winamp for video. I use Winamp exclusively for managing/playing my audio files. I use Media Player for playing video files. When I disabled the shell extensions, video files (such as .avi & .wmv) no longer had a program associated with them. Windows prompted me to associate a program with the file type the first time I selected such a file, but (even when ensuring the box was selected to always use this program in the future) the association would not remain saved. Instead, I was repeatedly presented with the prompt to associate a program with the file type each and every time I selected the file.

SOLUTION

NOTE: You may have to do the below steps before disabling the shell extension(s)
(I’m not sure). If you have already disabled the extension(s), and try these steps without success, just use ShellExView to enable the extension(s); retry these steps;
and then use ShellExView to once again disable the extension(s). This what I did, and everything turned out as desired.
  1. Open Media Player and go to Tools > Options. Select the ‘File Types’ tab. Ensure that the video file type(s) you are looking to fix are NOT selected from within the program.
  2. Open the 'Preferences' window within Winamp, and do the same as step one, ensuring that the video file type(s) are NOT selected from within the program.
  3. If shell extension(s) are still enabled, use ShellExView to disable them.
  4. Select a video file type in question.
    You should be prompted to associate a program. Do so.
  5. Select the same file type as that used in step 4.
    Verify the program association has been saved/maintained.
If you need to further tweak the program associations, need to add menu items, or want to customize the icon associated with the file type … then go to the 'File Types' tab of the 'Folder Options' window, accessed from within Windows Explorer by clicking:
Tools > Folder Options

The process for tweaking these entries has already been outlined in the thread discussing how to customize media icons by file type.

However, for quick reference ...
here is the syntax for creating menu items for Winamp & Media Player:

Winamp
  • &Play in Winamp
    "C:\Program Files\Winamp\winamp.exe" "%1"
  • &Enqueue in Winamp
    "C:\Program Files\Winamp\winamp.exe" /ADD "%1"
Media Player
  • &Open in Media Player
    "C:\Program Files\Windows Media Player\wmplayer.exe" /Open "%L"
  • &Play in Media Player
    "C:\Program Files\Windows Media Player\wmplayer.exe" /Play "%L"
NOTE: In case someone is curious. The %1 is a placeholder for the filename. The quotes ("") are used to accomodate paths and file names with spaces in them. So be sure to use "%1" and not just %1. The second could give errors.

Last edited by jph6t; 12th October 2006 at 07:35.
jph6t is offline   Reply With Quote