How can I make a program auto start when inserting a CD?

A. When a CD is inserted Windows looks for a file named autorun.inf at the root of the media. If it exists then the file is checked and the program you wish to be executed should the OPEN option:

\[autorun\]<br>
OPEN=DELOLD.EXE

An option is to also specify an icon for the CD:

ICON=DELOLD.ICO

Hide comments

Comments

  • Allowed HTML tags: <em> <strong> <blockquote> <br> <p>

Plain text

  • No HTML tags allowed.
  • Web page addresses and e-mail addresses turn into links automatically.
  • Lines and paragraphs break automatically.
Publish