?
Solved

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

Posted on 2000-02-16
2
Medium Priority
?
137 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
2 Comments
 

Accepted Solution

by:
tcornett earned 400 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

WordPress Tutorial 4: Recommended Plugins

Now that you have WordPress installed, understand the interface, and know how to install new parts, let’s take a look at our recommended plugins.

Question has a verified solution.

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

This article summaries thoughts and ideas from two years of sustained use. It provides good reasoning to make the jump to Windows 10.
The Windows functions GetTickCount and timeGetTime retrieve the number of milliseconds since the system was started. However, the value is stored in a DWORD, which means that it wraps around to zero every 49.7 days. This article shows how to solve t…
This Micro Tutorial will give you a basic overview of Windows DVD Burner through its features and interface. This will be demonstrated using Windows 7 operating system.
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…
Suggested Courses

765 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