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

John Savill

May 17, 2000

1 Min Read
ITPro Today logo in a gray background | ITPro Today

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

[autorun]
OPEN=DELOLD.EXE

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

ICON=DELOLD.ICO

About the Author

Sign up for the ITPro Today newsletter
Stay on top of the IT universe with commentary, news analysis, how-to's, and tips delivered to your inbox daily.

You May Also Like