Click to See Complete Forum and Search --> : AVI Autorun


punky01
01-15-2001, 10:45 AM
Quick question-

I have a presentation for work in .AVI format, and need to burn it to CD and have it autorun in media player when it is mounted. Anyone know how to do that?

Galen_of_Edgewood
01-15-2001, 05:38 PM
I honestly don't know if this'll work, because I'm just kinda making it up. http://www.sharkyforums.com/ubb/biggrin.gif

The code is inbetween the dashes.

------------------------------------
[autorun]
open=c:\"program files\windows media player"\mplayer2.exe (yourfilename).avi
icon=c:\"program files\windows media player"\mplayer2.exe
------------------------------------

Save the file as autorun.inf

I honestly don't know if this will work, but it just might. I hope that you are using a CD-RW, if you want to try this. I really hope that this works. (I altered code from what I saw on a Microsoft autorun file.)

------------------
"You're mother's a fraggin' aardvark!"

punky01
01-15-2001, 05:50 PM
I tried something similar (edited an existing autorun.inf) with no luck- do you have to designate location (a little leery of this considering that cd drive letters can vary from system to system)?

Galen_of_Edgewood
01-15-2001, 06:43 PM
Originally posted by punky01:
I tried something similar (edited an existing autorun.inf) with no luck- do you have to designate location (a little leery of this considering that cd drive letters can vary from system to system)?

I honestly don't know. Here's an option. Use the ./ to designate this directory.

Like this:
open=c:\"program files\windows media player"\mplayer2.exe ./(yourfilename).avi

Sorry that I don't know for sure.

[EDIT] Just found this link. http://msdn.microsoft.com/library/psdk/shellcc/shell/Shell_basics/Autoplay_cmds.htm

------------------
"You're mother's a fraggin' aardvark!"

[This message has been edited by Galen_of_Edgewood (edited January 15, 2001).]

punky01
01-15-2001, 07:23 PM
Yep- I'm pretty stumped as to what is going wrong, so I ended up going with using this utility: http://www.geocities.com/TimesSquare/Maze/1125/software/cda.html#help

It worked beautifully, and gave me a nice autorun menu with graphics.

Thanks for all of your help, though!