autorun file for windows media player

P

Phil Newman

Hi,

I've made a WMV through windows movie maker, and i would like to burn
it to CD, along with an autorun file that will play the movie in full
screen.

what is the syntax for the autorun.inf file?

Thanks,

Phil
 
P

Phil Newman

Thanks,

I couldn't really find anything suitable on the msdn library though.
Anything on the net explains how to do it for WMP versions up to 10,
and for mplayer2.exe, but not for v11.

my autorun file looks like:

[autorun]
open=c:\Program Files\Windows Media Player\mplayer.exe \play \close
\fullscreen myvedio.wmv

where the wmv file is in the root of the CD

the autorun opens up WMP, but doesn't play, so I think my syntax is
wrong

Any help is appreciated,

Thanks,
 
N

Newbie Coder

Phil,

You just supply the path to the file on the CD & hope that the registered
application for the machine you are using is WMP. If not, it will open it in
the program associated with that particular file extension

So you could say:

[Autorun]
open=myvideo.wmv
icon=myicon.ico

If you have a folder which the WMV resides then you need to add that to the
path:

open=setup\myvideo.wmv and so on

The above will be good enough for what you want without getting too
technical & adding verbs...

Don't forget you have winamp, divx or the dvd apps that can be registered to
that file type

--
Newbie Coder
(It's just a name)


Phil Newman said:
Thanks,

I couldn't really find anything suitable on the msdn library though.
Anything on the net explains how to do it for WMP versions up to 10,
and for mplayer2.exe, but not for v11.

my autorun file looks like:

[autorun]
open=c:\Program Files\Windows Media Player\mplayer.exe \play \close
\fullscreen myvedio.wmv

where the wmv file is in the root of the CD

the autorun opens up WMP, but doesn't play, so I think my syntax is
wrong

Any help is appreciated,

Thanks,



Phil:

http://msdn.microsoft.com/library/default.asp?url=/library/en-us/shel...

--
Newbie Coder
(It's just a name)








- Show quoted text -
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads


Top