autorun file for windows media player

  • Thread starter Thread starter Phil Newman
  • Start date Start date
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
 
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,

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 -
 
Back
Top