Solved

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

Posted on 2000-02-16
2
133 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

Gigs: Get Your Project Delivered by an Expert

Select from freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely and get projects done right.

Question has a verified solution.

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

Sometimes drives fill up and we don't know why.  If you don't understand the best way to use the tools available, you may end up being stumped as to why your drive says it's not full when you have no space left!  Here's how you can find out...
When you try to extract and to view the contents of a Microsoft Update Standalone Package (MSU) for Windows Vista, you cannot extract the files from the MSU. Here we are going to explain how to extract those hotfix details without using any third pa…
The viewer will learn how to successfully create a multiboot device using the SARDU utility on Windows 7. Start the SARDU utility: Change the image directory to wherever you store your ISOs, this will prevent you from having 2 copies of an ISO wit…
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.

776 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