Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 136
  • Last Modified:

How to make a CD-application autoexecute

I'm trying to create a program, which I want to burn to a CD-ROM! I have made mose of the program, but I want it to start automatically as soon as the CD is put in the CD-player. Can U give me some hints to this projekt???
Thanks in advance :)          

                                                  Retep
0
retep
Asked:
retep
1 Solution
 
MirkwoodCommented:
To make a CD autostart you need to do the following:
Create a file called autorun.inf and place that in the root of the CD

The contents of the file should be like shown below
Open the the executable that should be autostarted
Icon is the icon that should be shown as CD icon
--- CUT HERE --
[autorun]
OPEN=SETUP.EXE /AUTORUN
ICON=SETUP.EXE,1
--- CUT HERE ---

-

0
 
retepAuthor Commented:
Thanks :)

I have tried it, and it works!!! :-)
Who would have known it was so simple?
(I guess almost everything is easy as soon as you know howto:)
0

Featured Post

Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now