1. Home
  2. Computing & Technology
  3. Delphi Programming

Create an Auto-Run CD

By Zarko Gajic, About.com

This is not a Delphi trick, but as a programmer (using any language) some time you might need this:

What you have to do is to create a text file named "Autorun.INF" containing the following text:

[autorun]
OPEN=myprogram.EXE
ICON=myicon.ICO

where myprogram.exe is the application that you want to "autorun" and the icon will be the icon for the CD when you put it in.

Delphi tips navigator:
» Is Point in Polygon?
« How to set system wide Hot Key for a Delphi application

Zarko Gajic
Guide since 1998

Zarko Gajic
Delphi Programming Guide

Explore Delphi Programming
About.com Special Features

Stay connected and entertained with reviews on tips on the latest HDTVs, cellphones and more. More >

Easy ways to connect two computers for networking purposes. More >

  1. Home
  2. Computing & Technology
  3. Delphi Programming
  4. Coding Delphi Applications
  5. Delphi Tips and Tricks
  6. 2001 Delphi Tips
  7. Create an Auto-Run CD

©2009 About.com, a part of The New York Times Company.

All rights reserved.