Solved

Creating an Autorun CD

Posted on 2002-04-06
2
136 Views
Last Modified: 2010-08-05
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 :)
0
Comment
Question by:annas
2 Comments
 
LVL 3

Accepted Solution

by:
lopem earned 100 total points
ID: 6923399
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
 

Author Comment

by:annas
ID: 6923499
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

Featured Post

Highfive Gives IT Their Time Back

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

A lot of questions regard threads in Delphi.   One of the more specific questions is how to show progress of the thread.   Updating a progressbar from inside a thread is a mistake. A solution to this would be to send a synchronized message to the…
Have you ever had your Delphi form/application just hanging while waiting for data to load? This is the article to read if you want to learn some things about adding threads for data loading in the background. First, I'll setup a general applica…
Here's a very brief overview of the methods PRTG Network Monitor (https://www.paessler.com/prtg) offers for monitoring bandwidth, to help you decide which methods you´d like to investigate in more detail.  The methods are covered in more detail in o…
This video gives you a great overview about bandwidth monitoring with SNMP and WMI with our network monitoring solution PRTG Network Monitor (https://www.paessler.com/prtg). If you're looking for how to monitor bandwidth using netflow or packet s…

743 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

10 Experts available now in Live!

Get 1:1 Help Now