A Flash Developer Resource Site

+ Reply to Thread
Results 1 to 7 of 7

Thread: Autorun.ini

  1. #1
    FK's Official War Driver wiReZ's Avatar
    Join Date
    Jun 2002
    Location
    wireless
    Posts
    615
    I am sure most of you know of the autorun.ini file that is used to automatically load .exe files.

    A while back, my friend (who I have lost contact in with after graduation) had it set up to automatically run an HTML file instead of an .EXE file.

    The "coding" was different.

    Anyone know it?

  2. #2
    FK's Official War Driver wiReZ's Avatar
    Join Date
    Jun 2002
    Location
    wireless
    Posts
    615
    anyone?? Come on, its been about 3 days since I've posted.

  3. #3
    Senior Member
    Join Date
    Jun 2001
    Posts
    2,943
    It isn't as easy as you'd think.

    Go to http://www.duckware.com and get the free download that will allow it.

    Autorun.inf (not ini) can only run exe files. This little program is an exe that then runs whatever you tell it to (html, swf, whatever).

  4. #4
    FK's Official War Driver wiReZ's Avatar
    Join Date
    Jun 2002
    Location
    wireless
    Posts
    615
    See, thats where you are wrong. I actually found it.

    Inside the autorun.ini all you gotta do is put this code

    Code:
    [autorun]
    open=start whateveryouwant.htm
    I hate having to get software that is unnecessary.

  5. #5
    Senior Member
    Join Date
    Jun 2001
    Posts
    2,943
    Mmm.

    I wasn't going to bother replying, but people deserve to know the details (three of tens of thousands of similar hits from Google):

    http://msdn.microsoft.com/library/de...oplay_cmds.asp

    http://www.startertool.com/en/en_index.html

    In particular this one:

    http://www.cdmenupro.com/autorun_inf.htm

    You will be making a mistake if you try and just edit autorun.inf the way you suggested and expect it to run on all PCs. It won't
    [Edited by Sualdam on 06-29-2002 at 09:25 AM]

  6. #6
    FK's Official War Driver wiReZ's Avatar
    Join Date
    Jun 2002
    Location
    wireless
    Posts
    615
    Originally posted by Sualdam
    You will be making a mistake if you try and just edit autorun.inf the way you suggested and expect it to run on all PCs. It won't
    How will I be making a mistake? I know it works for what I want it to do, and on the platform and computer as well. I have seen it work from others, I just made it work on my recent CD burn, and anyways, it's autorun.ini not .inf.
    I bet you the majority of PC's can perform the action, why? because my friend has used it on multiple PC's to show his portfolio and if it didn't work, I don't think he would still be using it.

  7. #7
    Senior Member
    Join Date
    Jun 2001
    Posts
    2,943
    No. The mistake is in telling other people that it works that way.

    This forum is for everyone - not just you or me.

    It is important to post the right information. Officially, autorun.inf (not 'ini') only runs exe files. From that third link, it would seem that some (most?) people might be able to get non-exe files to run.

    The autorun.inf question gets asked regularly.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts




Click Here to Expand Forum to Full Width


HTML5 Development Center