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

i want to add video or setup files to a CD so that when i insert it,it shud directly start the setup installation or play the video on PC.

2007-07-04 02:37:31 · 6 answers · asked by shardul_thakker 1 in Computers & Internet Software

6 answers

This should work.

Create a cd that will autorun

--------------------------------------------------------------------------------

To create a cd that will auto run create the file ‘AUTORUN.INF’ in the cd’s root directory. This is a simple text file (so use notepad to edit it).

The ‘AUTORUN.INF’ file must start with the following line:

[autorun]

It can then include any of the following commands, each of which is optional:

icon=icon.ico Specifies the name of the icon file that will be used by explorer as the icon for that cd.
This may be the name of an executable file that contains an icon. If the executable contains more than one icon then an optional index field can be specified to indicate which icon to use:

icon=iconfile,index

label=text label Text label that will be displayed against the cd within explorer.
open=exefile Specifies the command that is to be autorun when the cd is first inserted. It may include a path and any arguments.
ShellExecute=datafile Specifies an application or data file that is to be opened. Windows will launch the application associated with that file type to open the datafile.
Note: ShellExecute is not supported under all versions of Windows (e.g Window 98).


For example to create a cd that will autorun the program ‘setup.exe’ would require an AUTORUN.INF file similar to:

[autorun]
open=setup.exe
icon=setup.exe

To create a cd that will autorun to open the html file ‘index.htm’ would require:

[autorun]
ShellExecute=index.htm
icon=index.htm

However, since not all versions of Windows support ‘ShellExecute’ a less elegant alternative would be:

[autorun]
open=command /c start index.htm
icon=index.htm

Be aware that the use of ‘command’ and ‘start’ restrict this to machines running Windows.


--------------------------------------------------------------------------------

Related how-to notes:

How to test cd autorun without burning a cd

--------------------------------------------------------------------------------

These notes are believed to apply to all versions of Windows

2007-07-04 02:41:48 · answer #1 · answered by alanpks4 4 · 0 0

Open up "My Computer"

Right click a CD or DVD drive.

Drag down to "Properties" and click "Properties".In the Properties menu click the "AutoPlay" tab.

Click the dropdown menu and select the filetype that you want to change the action of.

Under actions select either "Select an action to perform" or "Prompt me each time to choose an action"

If you chose "Select an action to perform" select what action you want to perform.

Click Apply or OK.

If you chose "Prompt me each time to choose an action" the next time you insert a CD or DVD with that type it will ask you what you want to do.

2007-07-04 02:53:08 · answer #2 · answered by ComputersNstuff 3 · 0 0

Before burning that CD, you have to add the a text file called AUTORUN.inf in the root folder of it. Its content should be as follows. Add these lines:

[autorun]
OPEN=AUTORUN.EXE

(AUTORUN.EXE is the application on your CD which needs to be started when you insert the CD in your CDROM.)
If you want a custom icon to appear on your application, add the following line:

ICON=AUTORUN.ICO

where AUTORUN.ICO is your icon saved in the root folder of the CD.

More explanation on Autorun.inf files:
http://autorun.moonvalley.com/autoruninf.htm
http://en.wikipedia.org/wiki/Autorun

2007-07-04 02:48:25 · answer #3 · answered by TBird 4 · 0 0

This is a free Wizard which will guide you through making an autoplay CD.

http://www.rjlsoftware.com/software/utility/autorun/autorun.shtml

2007-07-04 03:21:40 · answer #4 · answered by TheHumbleOne 7 · 0 0

all cd's will have autorun if they don't go to my computer and right click the cd's path and click Enable autoplay

2007-07-04 02:47:04 · answer #5 · answered by vercetti 2 · 0 0

To make it play in autorun, you must create an "autorun.inf" file that gives out the command on which file to run upon disk insertion.
a sample autorun.inf file may be as simple as this:

[AutoRun]
OPEN=STARTUPV.EXE

This instructs the computer to run a file named STARTUPV.EXE upon reading the disk.

2007-07-04 02:44:25 · answer #6 · answered by Aladdin 2 · 0 0

fedest.com, questions and answers