A Flash Developer Resource Site

Results 1 to 3 of 3

Thread: Making an exe flash file run

  1. #1
    Junior Member
    Join Date
    Aug 2000
    Posts
    24

    Lightbulb

    How do I make an .exe file run automatically when I write the exe is on a CD. What file can i create to the CD to tell it to run.. I have no idea.. so please explain all details...

    The file name for example is: intro.exe


    Thanks..

  2. #2
    Moderator
    FK Junkie
    TiefighT's Avatar
    Join Date
    Aug 2000
    Posts
    683
    very simple procedure:

    1) Create a text file named "autorun.inf" (the name is non negotioable)

    2) Open the file with notepad and put the following bolded text inside. Non bolded text is just a description and should not be included in the file.

    [autorun] <--tells computer that the following is "autorun" perameters

    OPEN=INTRO.EXE <--tells computer to open the listed file upon insertion of cd

    ICON=cd.ico <--gives computer the name of the custom icon file that will replace the normal cd player icon upon insertion of the cd (this parameter is optional)

    3) Copy the autorun.inf file, the .exe file, and any .ico files to the root directory of the cd

    4) The cd will now run the specified file on any computer with autorun enabled

    Hope it helps

    ---Edited---
    After reading my post I realized it may be hard to decern what to put in the file based on my description. Bottom line is put the following text in an "autorun.inf" file on the root directory of your cd:

    [autorun]
    OPEN=INTRO.EXE

    [Edited by TiefighT on 08-16-2000 at 03:38 PM]

  3. #3
    Junior Member
    Join Date
    Aug 2000
    Posts
    24

    thanks

    Was most helpful.

    I understand.

    Thanks again

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