What happened to the Messenger Plus! forums on msghelp.net?
Shoutbox » MsgHelp Archive » Skype & Technology » Tech Talk » autorun.ini or autorun.inf ? [Solved]

autorun.ini or autorun.inf ? [Solved]
Author: Message:
Mike
Elite Member
*****

Avatar
Meet the Spam Family!

Posts: 2795
Reputation: 48
32 / Male / Flag
Joined: Mar 2003
Status: Online
O.P. Huh?  autorun.ini or autorun.inf ? [Solved]
Hello.

I want to burn a CD that will autorun a file when that cd is inserted into the cd drive.

However, I was wondering, does the extension of the autorun file need to be .ini or .inf?
I searched google for "autorun.ini" and "autorun.inf" and both results said "use autorun.ini to make a program run when the cd is inserted" or "use autorun.inf to make a program run when the cd is inserted"
I was wondering, should the autorun file have an .ini extension or a .inf extension? :S
I was thinking about making the same file with both of the extension in my cd...

Also, an autorun file should be like this eh?

code:
[autorun]
open=MyProggy.exe
icon=MyProggy.ico

Also, if I was to execute a .txt file, it should be like this eh?
code:
[autorun]
ShellExecute=CoolTxtFileHere.txt
icon=TheCDIcon.ico

Thanks.

This post was edited on 12-18-2005 at 02:25 PM by Mike.
YouTube closed-captions ripper (also allows you to download videos!)
12-18-2005 01:59 PM
Profile E-Mail PM Web Find Quote Report
Reaper
Veteran Member
*****

Avatar

Posts: 1393
Reputation: 23
36 / Male / Flag
Joined: Jun 2004
RE: autorun.ini or autorun.inf ?
for a program/iso, it should be a .inf file
im not sure about what you put in it though
12-18-2005 02:03 PM
Profile E-Mail PM Find Quote Report
CookieRevised
Elite Member
*****

Avatar

Posts: 15517
Reputation: 173
– / Male / Flag
Joined: Jul 2003
Status: Away
RE: autorun.ini or autorun.inf ?
search the forums, this topic has been handled before IIRC...

Also, as with all MS things like this (and developper stuff), search the MSDN Library to know the proper correct settings and information. In this case, use the keyword autorun.

eg:
http://msdn.microsoft.com/library/en-us/.../autorun/autoplay_intro.asp

-----------

Autorun.INI is the file used to configure the Autorun.exe utility itself. It is totally unrelated to the automatically running of CD's and stuff. For that you need a Autorun.INF file. Thus although the filenames are almost the same, they are used for completely different things.

This post was edited on 12-18-2005 at 02:24 PM by CookieRevised.
.-= A 'frrrrrrrituurrr' for Wacky =-.
12-18-2005 02:08 PM
Profile PM Find Quote Report
Mike
Elite Member
*****

Avatar
Meet the Spam Family!

Posts: 2795
Reputation: 48
32 / Male / Flag
Joined: Mar 2003
Status: Online
O.P. RE: autorun.ini or autorun.inf ?
Thanks Cookie and Reaper...

I should have searched better before... :P

So, this autorun.inf file:
code:
[autorun]
ShellExecute=Readme.txt
icon=icon.ico
should execute the file Readme.txt and have as an icon the file icon.ico eh?
YouTube closed-captions ripper (also allows you to download videos!)
12-18-2005 02:25 PM
Profile E-Mail PM Web Find Quote Report
CookieRevised
Elite Member
*****

Avatar

Posts: 15517
Reputation: 173
– / Male / Flag
Joined: Jul 2003
Status: Away
RE: RE: autorun.ini or autorun.inf ?
quote:
Originally posted by Mike
I should have searched better before... :P
maybe, dunno... I can't judge that of course. But knowing where to search or start the search is often half the work. So, as of now you also know you can find such things (and many many more things) in the MSDN library ;)

quote:
Originally posted by Mike
So, this autorun.inf file:
code:
[autorun]
ShellExecute=Readme.txt
icon=icon.ico
should execute the file Readme.txt and have as an icon the file icon.ico eh?
yep, absolutely correct (y)
.-= A 'frrrrrrrituurrr' for Wacky =-.
12-18-2005 02:58 PM
Profile PM Find Quote Report
« Next Oldest Return to Top Next Newest »


Threaded Mode | Linear Mode
View a Printable Version
Send this Thread to a Friend
Subscribe | Add to Favorites
Rate This Thread:

Forum Jump:

Forum Rules:
You cannot post new threads
You cannot post replies
You cannot post attachments
You can edit your posts
HTML is Off
myCode is On
Smilies are On
[img] Code is On