Dauntless
Admin
+2,249|6999|London

I need to get a video to play as soon as the CD is inserted into a PC.

I just have 3 files on the disc:

Video.wmv
logo.ico
autorun.inf

In the autorun file I have this:

[autorun]

SHELLEXECUTE=Video.wmv
ICON=logo.ico
LABEL=Demo

The icon and label loads to the drive as it should, but it doesn't play the video.

I think i'm right in saying win7 and vista won't play it automatically, but prompt you to open it with the default player, which is fine, but i'm just getting this:

https://i52.tinypic.com/2vw8qoy.png

I've tried using OPEN instead of SHELLEXECUTE and it also didn't work, but I think OPEN is just used if you're using an application on the disc to open it?

What am I doing wrong here?

I'll give you karma and everything if you tell me.
https://imgur.com/kXTNQ8D.png
Dauntless
Admin
+2,249|6999|London

fine, be like that.

https://imgur.com/kXTNQ8D.png
13/f/taiwan
Member
+940|5956
i didn't even see this thread.
Finray
Hup! Dos, Tres, Cuatro
+2,629|6045|Catherine Black

13/f/taiwan wrote:

i didn't even see this thread.
https://i.imgur.com/qwWEP9F.png
steelie34
pub hero!
+603|6638|the land of bourbon
i thought Autoplay was the new 'autorun' for media files.  haven't done anything with it myself, but maybe this will help.
https://bf3s.com/sigs/36e1d9e36ae924048a933db90fb05bb247fe315e.png
JdeFalconr
Lex Luthor, King of Australia
+72|6799|Sammamish, WA
http://www.yellowpipe.com/yis/tools/autorun/ ?

Haven't tried it yet but it looks promising. I know there are other Autorun generators out there too.

Board footer

Privacy Policy - © 2025 Jeff Minard