From a command prompt;
C:\>assoc .cda
returns with
.cda=CDAFile
C:\>ftype cdafile
returns with
cdafile="C:\Program Files\Windows Media Player\wmplayer.exe" /Open "%L"
So possibly;
ftype cdafile="C:\Program Files\Windows Media Player\CDPlayer.exe" /Open
"%L"
but be sure to also copy and register any required libraries for the
application beforehand. You can use the support tool 'depends.exe' to help
you with this.
http://support.microsoft.com/kb/q301423/
--
Regards,
Dave Patrick ....Please no email replies - reply in newsgroup.
Microsoft Certified Professional
Microsoft MVP [Windows]
http://www.microsoft.com/protect
:
| Thanks Dave, I just wanted to make sure of that before proceeding
because
I
| know MS made some changes in the XP registry versus Win2000 and wasn't
sure
| if this was the proper newsgroup.
|
| Anyway, here's my problem:
|
| I'm trying to make the CD Player that comes with W2K the default player
for
| .cda files (music CDs) on my computer. I used to run W2K and so I
copied
| that application (CDPlayer.exe) onto my XP partition, but the registry
tweak
| I made isn't working for some reason. The player opens up fine when I
double
| click on the shortcut, but it doesn't auto-play when I pop in a music
CD.
|
| These are the 3 changes I made thus far:
| HKEY_CLASSES_ROOT\.cda\OpenWithList\
| Added a subkey for 'CDPlayer.exe'
|
| HKEY_CLASSES_ROOT\cdafile\shell\play\command
| Changed the default value to: %SystemRoot%\system32\CDPlayer.exe "%L",
/Play
|
| When this didn't work, I added a subkey 'CDPlayer.exe' under:
| HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Applications
|
| None of this has worked thus far. I keep getting a windows popup box
| asking me to choose from a list of applications and the CD Player I
copied
| over from my W2K is not even listed among the choices. It's not an
| "autoplay" problem because I am logged in as the Admin when doing so.
|
| What have I missed? I'm completely stumped.
|
| John