How To Make an Autorun CD/DVD


The basic configuration of the autorun.inf states the program that is to be run when the CD or DVD is inserted in the drive and the icon that is to be displayed when the disk is viewed by Windows Explorer or other directory listing application. The text-only file, which resides in the root directory of the CD, should something look like this:

Do you want to run your program on CD/DVD automatically when you insert it? Here's a way for making an Autorun CD/DVD:-

Open Notepad

    Type:-
    [autorun]
    OPEN=install\name.exe (name.exe is the name of your setup file).

Save it as autorun.inf

Variations:


Sometimes the program we want to run will not be located in the root directory of the CD. If that is the case you must include the path in autorun.inf:

[autorun]
open=folder1\folder1A\myfile.exe
icon=myicon.ico


Sometimes you may also need to pass an argument to the program to be auto played:

[autorun]
open=myprogram.exe /argument
icon=myicon.ico


That's all.



Also see >> How to disable autorun option

Related Posts

Tips and Tricks 1192377897367828113

Post a Comment Default Comments

Do not forget to drop your valuable comment here.
Note:- Please Do not put any external link, all the links are nofollow, as such comments goes to spam and are not displayed on this blog. Let’s enjoy a personal and evocative conversation.

emo-but-icon

item