?
Solved

Creating an Autorun CD

Posted on 2002-04-06
2
Medium Priority
?
144 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 3

Accepted Solution

by:
lopem earned 400 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

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Introduction The parallel port is a very commonly known port, it was widely used to connect a printer to the PC, if you look at the back of your computer, for those who don't have newer computers, there will be a port with 25 pins and a small print…
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…
Add bar graphs to Access queries using Unicode block characters. Graphs appear on every record in the color you want. Give life to numbers. Hopes this gives you ideas on visualizing your data in new ways ~ Create a calculated field in a query: …
How to fix incompatible JVM issue while installing Eclipse While installing Eclipse in windows, got one error like above and unable to proceed with the installation. This video describes how to successfully install Eclipse. How to solve incompa…
Suggested Courses
Course of the Month10 days, 14 hours left to enroll

770 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