English Deutsch Français Italiano Español Português 繁體中文 Bahasa Indonesia Tiếng Việt ภาษาไทย
All categories

3 answers

Create a file called AUTORUN.INF or AUTORUN.INI and put that in the root folder of the CD.
Put the following content exactly how it is.
[autorun]
open=setup.exe
icon=snazzie.ico

Some description:
open = setup.exe - assuming that the setup.exe file is in the root folder or else you can write (open = folder/setup.exe).

icon=snazzie.ico - you might have noticed that when you put some cd, an icon is displayed instead of just a CD drive icon when you open my computer, this is the code to display customised icon.

Once you insert the CD, the setup file will run automatically, in this way you can also open a particular folder instead of a file.

2006-09-07 00:08:37 · answer #1 · answered by Manish 5 · 0 0

just add an autorun.inf file in the root folder with following contents

[AutoRun]
open=yourfile.exe

where yourfile.exe is the name of your exe file. Now wrtie this file to cd.

2006-09-07 07:11:16 · answer #2 · answered by Vijay 2 · 0 0

Just put the answer Manish gave in an .ini file
and write it to disk along with your .exe

2006-09-07 07:13:35 · answer #3 · answered by GlacieredPyro 2 · 0 0

fedest.com, questions and answers