MARATHI TEAM
Welcome on the Marathi Team Forum.
To take full advantage of everything offered by
our forum, please log in if you are already a
member or join our community if you're not
yet....


Join the forum, it's quick and easy

MARATHI TEAM
Welcome on the Marathi Team Forum.
To take full advantage of everything offered by
our forum, please log in if you are already a
member or join our community if you're not
yet....
MARATHI TEAM
Would you like to react to this message? Create an account in a few clicks or log in to continue.
Log in

I forgot my password

Latest topics
Top posting users this week
No user

Nimbuzz id Maker
freebuzz is my love :D

user name

password

captcha


Create Autorun cds or open some files in cd as soon as CD is inserted

Go down

Heart Create Autorun cds or open some files in cd as soon as CD is inserted

Post  slowdeath Mon Dec 10, 2012 9:51 pm

Now every computer comes with a CD writer. The CDs that you create using your CD writer can use the Autorun facility.For that , You have to create a file named ‘autorun.inf’ . you can use notepad for this.

1. Execute the executable file in the cd like .exe files

For that follow the following steps :

1. For example assume that you have a program.exe file and myicon.ico file. And you want to run myprogram.exe file automatically when the CD is inserted.

2. Open a notepad and type these three lines in the notepad

3. (autorun)
open=myprogram.exe
icon=myicon.ico

4. save this file as ‘autorun.inf’.

NOTE:: If your executable file is not in the root folder then you have to specify the full path. (eg. open=folder/program.exe)

2. To create autorun cds for non executable files



1. If file is not an executable file like .xls, .doc, .html, .mp3, .wma, .mpg, .avi, .jpg, .zip or any other file then how to write the autorun.inf file.

2 Let us assume that you have cool.htm file as the autorun file. Then the autorun.inf file will be as follows:

3. (autorun)
open=start cool.htm
icon=myicon.ico

NOTE :: when you insert the CD, a small black window will open and close very fast and then you will see the index.htm file in Internet Explorer.
slowdeath
slowdeath
Owner
Owner

Posts : 216
Points : 591
Reputation : 0
Join date : 2012-12-03
Age : 31
Location : delhi

https://nimbuzz-team-coder.forumotion.org

Back to top Go down

Back to top

- Similar topics

 
Permissions in this forum:
You cannot reply to topics in this forum