PDA

View Full Version : Cd Detect


yoshi98bc
13th August 2002, 18:25
I was wondering if anyone has used this little program. It will auto launch an avi cd when placed in any cdrom drive. No need to used autorun files on the CD. I was able to get it to work with windows 98 but not xp. Just looking for some help. Thanks

Yusaku
15th August 2002, 22:49
XP have this feature in the system - just download XP powertoys and configure it to launch your favorite AVI player :)

yoshi98bc
16th August 2002, 00:30
Well, I installed tweakui and it launched the program but it won't play the file. Any ideas.

Yusaku
16th August 2002, 20:39
It launches a program with just the CD drive letter. So if your prog cannot start with drive letter alone, you could do with a short batch file. Something like:

dir %1 /s /b > c:\temp\cdauto.pls
c:\program files\my favorite movie player\play.exe c:\temp\cdauto.pls

should do the trick.... (as long as it supports PLS playlists... WMP 6.4 does...)

yoshi98bc
19th August 2002, 00:45
Ok, I use bsplayer. Forgive me but I do not understand what you are talking about. Whenever I put the .avi file disc in, the player luanches, but does not load the file and play. Any help would be appreciated. Thanks

Yusaku
19th August 2002, 01:56
ok.

Do not make the PowerToys launch the player directly, instead make batch say c:\windows\runbsp.cmd with this content (using notepad):

dir %1\*.avi /s /b > c:\temp\cdauto.pls
c:\program files\BSPlayer\BSplay.exe c:\temp\cdauto.pls


make the paths etc. fit your computer. And then have PowerToys launch this batch file on the insertion of CD with .AVI files on them.

yoshi98bc
19th August 2002, 04:21
Well, I Did just that and the only thing that happened was the screen looked liked it flashed the ms dos prompt, then went away.

Yusaku
19th August 2002, 05:19
well, if it doesn't at least start the player, then you just do not have correct path. Sorry...

yoshi98bc
19th August 2002, 06:32
Ok, here's what I put in the cmd file.

dir %1\*.avi /s /b > c:\WUtemp\cdauto.bsl
c:\Program Files\bsplay085.486\bplay.exe c:\WUtemp\cdauto.bsl

I changed pls to bsl b/c that's the playlist format that bsplayer supports. I tried it both ways and neither worked. I checked the path to the .exe file and it is correct. I really appreciate your help in this matter.

Yusaku
19th August 2002, 06:36
see PM.