1. You are viewing our forum as a guest. For full access please Register. WindowsBBS.com is completely free, paid for by advertisers and donations.

launch files automatically from a CD

Discussion in 'Other PC Software' started by maxmangion, 2004/03/08.

Thread Status:
Not open for further replies.
  1. 2004/03/08
    maxmangion

    maxmangion Inactive Thread Starter

    Joined:
    2002/08/13
    Messages:
    252
    Likes Received:
    0
    i am planning to make some avi on CD's. However, i would like that as soon as i put the cd in the cd-rom drive, i want that the .avi file will start playing automatically.

    if i create a textfile and i type the following, would you think that i manage the launch the file automatically ?

    [autorun]
    Open=title.avi

    and saving the file as autorun.inf

    Thanks!
     
    Last edited: 2004/03/08
  2. 2004/03/08
    irdreed

    irdreed Inactive

    Joined:
    2002/09/27
    Messages:
    541
    Likes Received:
    0
    maxmangion,
    This is what I found:
    "A typical autorun.inf file to install software would be located in the root directory of the CD and contain three lines in text format (ASCII) like this:

    [autorun]
    open=setup.exe
    icon=setup.exe

    Setup.exe would be expected to be found in the root directory of the CD.

    So simply create an autorun.inf text file, edit it and stick it on your CD! "
    So it would seem yours is OK.
    Good Luck
     
    Last edited: 2004/03/08

  3. to hide this advert.

  4. 2004/03/09
    TonyT

    TonyT SuperGeek Staff

    Joined:
    2002/01/18
    Messages:
    9,072
    Likes Received:
    400
    The autorun.inf MUST use a program in order to autorun a file.

    [autorun]
    open=start mplayer2.exe video.avi

    The program used above is start.exe which is a part of all modern windows versions. The above will work IF AND ONLY IF mplayer2 can play avi files. MPlayer is part of the default install of windows.

    However, it is best to use one of the several good freeware utilities for autorunning files on a cd. Some of these can also make a menu screen for you.
    LOOK HERE
     
  5. 2004/03/09
    Zander

    Zander Geek Member Alumni

    Joined:
    2002/01/07
    Messages:
    4,084
    Likes Received:
    5
    You could also use shellout.exe to do this. All you need to do is copy shellout.exe (only 20 KB) to the cd and then write your autorun file useing shellout.exe. In this case the autorun file would look like this.

    [autorun]
    open=shellout.exe title.avi

    Shellout.exe is kind of nice in that any file that is referenced in the autorun file after shellout.exe is automatically opened in the default application of the computer you are using to view the cd. It should work to autorun any file type as long as there is a default viewer on the computer for that particular file type.
     
Thread Status:
Not open for further replies.

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.