Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

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

Posted on 2000-02-16
2
Medium Priority
?
139 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

Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.

Question has a verified solution.

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

An introduction to the wonderful sport of Scam Baiting.  Learn how to help fight scammers by beating them at their own game. This great pass time helps the world, while providing an endless source of entertainment. Enjoy!
In this modest contribution, I want to share with the IT community (especially system administrators, IT Support Engineers and IT Help Desks) about Windows crashes/hangs and how to deal with these particular problems.
As developers, we are not limited to the functions provided by the VBA language. In addition, we can call the functions that are part of the Windows operating system. These functions are part of the Windows API (Application Programming Interface). U…
In this video, we discuss why the need for additional vertical screen space has become more important in recent years, namely, due to the transition in the marketplace of 4x3 computer screens to 16x9 and 16x10 screens (so-called widescreen format). …

636 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