Solved

Creating an Autorun CD

Posted on 2002-04-06
2
142 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 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

Enroll in May's Course of the Month

May’s Course of the Month is now available! Experts Exchange’s Premium Members and Team Accounts have access to a complimentary course each month as part of their membership—an extra way to increase training and boost professional development.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Create a path if not exists 7 124
Firemonkey android show image from resource ? 1 70
Delphi...Split view - idea? 1 144
How to save the image in the .cds File ClientDataSet? 1 41
Objective: - This article will help user in how to convert their numeric value become words. How to use 1. You can copy this code in your Unit as function 2. than you can perform your function by type this code The Code   (CODE) The Im…
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…
Exchange organizations may use the Journaling Agent of the Transport Service to archive messages going through Exchange. However, if the Transport Service is integrated with some email content management application (such as an antispam), the admini…
Finding and deleting duplicate (picture) files can be a time consuming task. My wife and I, our three kids and their families all share one dilemma: Managing our pictures. Between desktops, laptops, phones, tablets, and cameras; over the last decade…

739 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