Solved

How do I burn a CD use to the "Autorun" Function?

Posted on 2000-02-16
2
132 Views
Last Modified: 2013-12-29
I am deveolping an application that I am going to distribute on CD and I need to know how to make the CD start-up when inserted.
0
Comment
Question by:timot
  • 2
2 Comments
 

Accepted Solution

by:
tcornett earned 100 total points
ID: 2526979
timot,

-Create a file called autorun.inf
-The first line of this file should be [AutoRun]
-the next two lines set the icon of the CD and determines which executable to run when the CD is inserted.  Those two lines look like the following:
open=myprog.exe
or if your program is in another directory:
open=MyDir\myprog.exe

For the icon:
icon=myicon.ico
or if you want to use the icon of the executable use:
icon=myprog.exe,0

- Tom
0
 

Expert Comment

by:tcornett
ID: 2526983
timot,

-Create a file called autorun.inf
-The first line of this file should be [AutoRun]
-the next two lines set the icon of the CD and determines which executable to run when the CD is inserted.  Those two lines look like the following:
open=myprog.exe
or if your program is in another directory:
open=MyDir\myprog.exe

For the icon:
icon=myicon.ico
or if you want to use the icon of the executable use:
icon=myprog.exe,0

The autorun.inf file should be placed in the root directory of the CD.

- Tom
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Update 11/3/2014 - Although the below article will get you to relocate the WINSXS folder, Microsoft has finally released a utility to reduce the size of the WINSXS folder. For some reason, it's not that straightforward. It only works on Windows 2008…
Storage devices are generally used to save the data or sometime transfer the data from one computer system to another system. However, sometimes user accidentally erased their important data from the Storage devices. Users have to know how data reco…
Windows 8 comes with a dramatically different user interface known as Metro. Notably missing from the new interface is a Start button and Start Menu. Many users do not like it, much preferring the interface of earlier versions — Windows 7, Windows X…
Windows 8 came with a dramatically different user interface known as Metro. Notably missing from that interface was a Start button and Start Menu. Microsoft responded to negative user feedback of the Metro interface, bringing back the Start button a…

867 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

23 Experts available now in Live!

Get 1:1 Help Now