Mega Code Archive

 
Categories / Delphi / Examples
 

Use the autorun function [cd-rom]

Erstellen Sie im Root Verzeichnis der CD eine Datei mit dem Namen AUTORUN.INF. Schreiben Sie folgendes in die Datei hinein. [AutoRun] OPEN=project1.exe ICON=icon.ico Und schon wird Ihr Projekt automatisch von CD gestartet. Wenn Sie das Icon des Projektes nutzen wollen, können Sie auch folgendes eingeben ICON=project1.exe,1 Create in the root directory of the CD a text file AUTORUN.INF The content of the file is: [AutoRun] OPEN=project1.exe ICON=icon.ico If you want to use the project icon in th exe file, use ICON=project1.exe,1