View Full Version : Creating an auto-run CD...
Ladogaboy
08-18-2002, 02:04 PM
I remember hearing about this a while ago.
What I am trying to do is create a CD, probably with a divx video file, that auto runs when you put it into the CD drive. Is it possible to do this? And if so, how...
Links or detailed instructions would be greatly appreciated.
Thanks.
hapoo
08-18-2002, 02:18 PM
well...
auto-run basically runs a PROGRAM on the disc. It would be possible to put a Divx player on the disc itself and have it run that but you probably just want windows media player to play it, right?
Paymaster
08-18-2002, 02:58 PM
Insure that the file extension is properly registered to the application that you want it to open in.
Create a file called autorun.inf on the root of the CD.
[autorun]
shellexecute=file.divx
More info here: http://msdn.microsoft.com/library/default.asp?url=/library/en-us/shellcc/platform/shell/programmersguide/shell_basics/shell_basics_extending/autorun/autoplay_cmds.asp
hapoo
08-18-2002, 03:02 PM
Originally posted by Paymaster
Insure that the file extension is properly registered to the application that you want it to open in.
Create a file called autorun.inf on the root of the CD.
[autorun]
shellexecute=file.divx
More info here: http://msdn.microsoft.com/library/default.asp?url=/library/en-us/shellcc/platform/shell/programmersguide/shell_basics/shell_basics_extending/autorun/autoplay_cmds.asp
:hmm:
Wow, stupid me :)
Thanks for the info
NuTs62
08-18-2002, 03:08 PM
everytime winxp sees a video file on a cd, it always prompts me to play it or not, which i can set it to always play.. but for those other older OSes, you may hafta go with the route that was explained above. :P
Ladogaboy
08-18-2002, 05:44 PM
Originally posted by Paymaster
Insure that the file extension is properly registered to the application that you want it to open in.
Create a file called autorun.inf on the root of the CD.
[autorun]
shellexecute=file.divx
More info here: http://msdn.microsoft.com/library/default.asp?url=/library/en-us/shellcc/platform/shell/programmersguide/shell_basics/shell_basics_extending/autorun/autoplay_cmds.asp
Okay, thanks...
Just one more stupid question before I start messing around with this: how do I create an .inf file?
NuTs62
08-18-2002, 06:58 PM
Originally posted by Ladogaboy
Okay, thanks...
Just one more stupid question before I start messing around with this: how do I create an .inf file?
just make it using notepad. correct me if i'm wrong, but its pretty much a text file.
Ladogaboy
08-18-2002, 08:32 PM
Originally posted by NuTs62
just make it using notepad. correct me if i'm wrong, but its pretty much a text file.
Yeah, I was thinking of doing that... Either that, or I can just copy and paste one from the Windows folder... ;)
Paymaster
08-19-2002, 12:18 PM
It's nothing but text. Heck, copy and paste the text from my post above into notepad. :)
Ladogaboy
08-19-2002, 01:44 PM
Originally posted by Paymaster
It's nothing but text. Heck, copy and paste the text from my post above into notepad. :)
Yeah, I figured that... I just didn't know if I could change the file extension to .inf.
Thanks!
Powered by vBulletin® Version 4.1.12 Copyright © 2013 vBulletin Solutions, Inc. All rights reserved.