autoruns are usually stored in the root folder of a cd, and must be called autorun.inf
the code always starts like:
[autorun]
open = (path to file)
optionally, you can add in:
This will give the CD an icon in the my computer screen.
There is another one which allows you to add right-click options when you right-click on the disc in my computer. All I can remember is that the command is "shell", I'll edit the post when I find it, even if you don't want to use it...
to make sure you get the extension right, open up the command prompt interface, and find it on your hard drive, then type:
ren autorun.*inf* "autorun.inf"
This way, if your text editor has saved as autorun.inf.txt or autorun.txt.inf the txt bit will be removed.