[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now

x
?
Solved

Creating an Autorun CD

Posted on 2002-04-06
2
Medium Priority
?
147 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 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

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Question has a verified solution.

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

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…
Creating an auto free TStringList The TStringList is a basic and frequently used object in Delphi. On many occasions, you may want to create a temporary list, process some items in the list and be done with the list. In such cases, you have to…
We’ve all felt that sense of false security before—locking down external access to a database or component and feeling like we’ve done all we need to do to secure company data. But that feeling is fleeting. Attacks these days can happen in many w…
Are you ready to place your question in front of subject-matter experts for more timely responses? With the release of Priority Question, Premium Members, Team Accounts and Qualified Experts can now identify the emergent level of their issue, signal…
Suggested Courses
Course of the Month19 days, 17 hours left to enroll

873 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