AUTORUN

kkraning wrote on 5/6/2002, 3:58 PM
Try as I may, I cannot figure out how to create an "autorun.ini" file that will start and play an "mpg" video. VF 2.0c creates the following in the "autorun.ini" file that is placed on the CD when you select "create a CD-ROM with a movie file"

[autorun]
label=testvideo
shellexecute=\testvideo.mpg

All of my professionally created CDs that have an "autorun.ini" file, start and execute the commands in the "autorun.ini" file without a problem, so I know the autorun function is working properly.

What am I missing?

Ken

Comments

johnmeyer wrote on 5/6/2002, 8:22 PM
Two things:

1. I think the file should be called AUTORUN.INF, not AUTORUN.INI.
2. I use the OPEN command rather than ShellExecute (although ShellExecute may work as well.

Here's my INF file for a similar task:

[autorun]
OPEN=start.bat

John
p_l wrote on 5/6/2002, 11:54 PM
Just curious, what's the difference between that and these autorun instructions for VCDs: http://www.vcdhelp.com/autorun.htm
johnmeyer wrote on 5/7/2002, 12:51 PM
The instructions found at VCD Help are as follows:

[autorun]
open=start mplayer2.exe /play /close \MPEGAV\avseq01.dat

This is the same as what I suggested, except that this example opens the Windows media player, tells it to play the file "\MPEGAV\avseq01.dat" and then close when the end of the media is reached. Note that this two line instruction is stored in AUTORUN.INF not AUTORUN.INI as the original poster tried to do (and which probably was the reason it wasn't working).

John
p_l wrote on 5/8/2002, 12:17 AM
So do your instructions autoplay ALL the files on a VCD with more than one file? And what do they open with, WMP or something else?
johnmeyer wrote on 5/8/2002, 8:27 PM
They will open with media player (MPLAYER2.EXE), and it will play the sequence specified in the autorun file.