Creating an Autorun CD

I want to create an application in delphi that will start automatically when the cd is inserted. I think it has something to do with an INF file but I'm at a loss. Can anyone help?
Paul :)
annasAsked:
Who is Participating?

[Webinar] Streamline your web hosting managementRegister Today

x
 
lopemConnect With a Mentor Commented:
Annas,
You have to put a file called 'autorun.inf' in your CD root directory...  An autorun.inf file is just a text file. You
can edit it with even notepad.

A typical autorun.inf text file is:

[autorun]
open = myapp01.exe

Thats it!

best regards,
Manuel Lopez (lopem)
0
 
annasAuthor Commented:
Worked just fine!
thank you, lopem. Please remember, though to give an answer in a comment rather than a proposed answer. I think this is the way the moderators have proposed.
Thanks again!
Paul :)
0
All Courses

From novice to tech pro — start learning today.