autorun.ini or autorun.inf ? [Solved] - Printable Version
-Shoutbox (https://shoutbox.menthix.net)
+-- Forum: MsgHelp Archive (/forumdisplay.php?fid=58)
+--- Forum: Skype & Technology (/forumdisplay.php?fid=9)
+---- Forum: Tech Talk (/forumdisplay.php?fid=17)
+----- Thread: autorun.ini or autorun.inf ? [Solved] (/showthread.php?tid=54017)
autorun.ini or autorun.inf ? [Solved] by Mike on 12-18-2005 at 01:59 PM
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?
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.
RE: autorun.ini or autorun.inf ? by Reaper on 12-18-2005 at 02:03 PM
for a program/iso, it should be a .inf file
im not sure about what you put in it though
RE: autorun.ini or autorun.inf ? by CookieRevised on 12-18-2005 at 02:08 PM
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.
RE: autorun.ini or autorun.inf ? by Mike on 12-18-2005 at 02:25 PM
Thanks Cookie and Reaper...
I should have searched better before...
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?
RE: RE: autorun.ini or autorun.inf ? by CookieRevised on 12-18-2005 at 02:58 PM
quote: Originally posted by Mike
I should have searched better before...
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
|