When you right-click a CD, DVD or removable drive and select Properties from the menu you find a Autoplay tab there that displays applications for certain media that are put into the drive. An action like playing or opening can be selected or that the user will be prompted every time a media of that type is inserted.

