PDA

View Full Version : Create An Auto-Play CD


toomyg
07-02-2004, 10:31 AM
Someone out there should find this info useful

I got in an e-mail from ZDNET






The application CDs that you buy launch automatically, and your burned CDs can do the same. They can invoke a setup program or display an HTML page that links to the CD's contents. Use Notepad to create a three-line text file based on the lines below, and name it Autorun.inf. Place the file in the CD's root directory.


[autorun]

open=setup.exe


icon=icon.ico

Replace setup.exe with the program that should launch when the CD is inserted, and replace icon.ico with the file containing the CD's icon. In both cases, be sure to omit the drive letter. If you want to launch a nonexecutable item like an HTML file, precede it with start.exe in the open= line. Note that all file links in the HTML file should be relative ones, omitting the drive letter.

Colonel Sanders
07-02-2004, 03:11 PM
The icon line is un-necessary, it will only change the icon to one you have stored on the CD. :)

If you want to make an MP3 CD(would probably work for other forms of media) auto-play, put a play-list on the CD and target that with the auto-run.

L J

Statica
07-02-2004, 03:21 PM
The open= and icon= directives are just scratching the surface of autorun.inf .. here's a good library: http://msdn.microsoft.com/library/default.asp?url=/library/en-us/shellcc/platform/shell/programmersguide/shell_basics/shell_basics_extending/autorun/autoplay_cmds.asp

Hi Ho
07-02-2004, 03:22 PM
It's very easy to make autorun CD's with DeepBurner (http://www.deepburner.com/). You can customize the menus and do a lot of stuff with it.