A Windows XP help forum. PCbanter

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » PCbanter forum » Microsoft Windows XP » Windows XP and video cards, drivers and similar
Site Map Home Register Authors List Search Today's Posts Mark Forums Read Web Partners

Autoplay MPG file from CD



 
 
Thread Tools Display Modes
  #1  
Old April 9th 07, 05:02 AM posted to microsoft.public.windowsxp.video
ma
external usenet poster
 
Posts: 5
Default Autoplay MPG file from CD

I have searched Google, but was not successful in
finding proper solution.
Thanks in advance for any hint.

XP Pro. Sp2
Burned & finalized a CD with one MPG file on it.
I added (copied) MplayerC.exe and an AutoRun.INF
on root of CD that looks like:

[Autorun]
Open = Mplayerc.exe "Banquet-2007.mpg" /Play /Close

[I know command line switches for classic player are different
than those of Windows Mplayer2]

When I insert the CD in the drive, MplayerC.exe starts
but then gives this message at the bottom:
"File not found".

This is interesting, because the file "Banquet-2007.mpg"
is on the same CD. I think (guess) Mplayerc is looking
for the file in my PC root directory C: and that is why it
can not find it.

I can not give explicit address of CD root because if I
use it on someone else's PC, he may name his CD drive
something different than mine.

How can I re write the inf file so mplayerc looks for it
on the CD and not else where.

Best Regards,
Mike





Ads
  #2  
Old April 9th 07, 07:56 AM posted to microsoft.public.windowsxp.video
John Inzer
external usenet poster
 
Posts: 828
Default Autoplay MPG file from CD

ma wrote:
I have searched Google, but was not successful in
finding proper solution.
Thanks in advance for any hint.

XP Pro. Sp2
Burned & finalized a CD with one MPG file on it.
I added (copied) MplayerC.exe and an AutoRun.INF
on root of CD that looks like:

[Autorun]
Open = Mplayerc.exe "Banquet-2007.mpg" /Play /Close

[I know command line switches for classic player are different
than those of Windows Mplayer2]

When I insert the CD in the drive, MplayerC.exe starts
but then gives this message at the bottom:
"File not found".

This is interesting, because the file "Banquet-2007.mpg"
is on the same CD. I think (guess) Mplayerc is looking
for the file in my PC root directory C: and that is why it
can not find it.

I can not give explicit address of CD root because if I
use it on someone else's PC, he may name his CD drive
something different than mine.

How can I re write the inf file so mplayerc looks for it
on the CD and not else where.

Best Regards,
Mike

===================================
I tried the following method and it worked
for me. Maybe it will give you some ideas:

How to create your own free CD autorun for
HTML and most file types.
http://www.softwarepatch.com/tips/autorun.html

Open the autorun.bat file in notepad and
replace index.html with Banquet-2007.mpg

Burn:
autorun.bat
autorun.inf
Banquet-2007.mpg
on a Data CD.

Place the disk in your CD drive and It should
launch in WMP.

Good luck.

--
John Inzer
MS Picture It! -
Digital Image MVP

Digital Image
Highlights and FAQs
http://tinyurl.com/aczzp

Notice
This is not tech support
I am a volunteer

Solutions that work for
me may not work for you

Proceed at your own risk



 




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off






All times are GMT +1. The time now is 10:20 AM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 PCbanter.
The comments are property of their posters.