Submit Your Article Forum Rules

Results 1 to 5 of 5

Thread: .EXE files?

  1. #1
    Junior Member
    Join Date
    Aug 2003
    Posts
    22

    .EXE files?

    Could someone help me with my question:

    I need to put some files on CD for my presentation.
    Usually when you put CD in CD drive, file (presentation) opens itself.
    I am, obviously, not a pro but I understand that these is a program which does it.

    How difficult to make (write a program) an executable file (.exe) to have the same thing happen?

    Thank you for your help.

  2. #2
    Senior Member Corey Bryant's Avatar
    Join Date
    Nov 2003
    Location
    Castle Pines North, CO
    Posts
    494
    First copy the "start.exe" file from your c:\windows\command directory to your CD-ROM. then use

    [autorun]
    open=start.exe index.html

    One disadvantage of this method is that it will display a transient DOS window before the default browser fires up.

    Try this in an autorun.inf file:
    [autorun]
    OPEN=Start \README.htm
    ICON=SC.ICO

    If that one does not work, you can try this one:
    You will need to create two files. An Autorun file and and a batch file. Autorun files will only open up executables. Since an html document is not an executable you need the batch file to start the web browser.
    This is what I usually use:
    This is the autorun file (named autorun.inf):
    [autorun]
    OPEN=start.bat
    ICON=fav.ico,0

    (** fav.ico is just the name of the icon I have also saved on the CD.)

    This is what I have for the .bat file (named start.bat):
    start index.html
    exit

    Here are some other suggestions as well:

    http://www.dummysoftware.com/cdstart.htm
    http://www.whirlywiryweb.com/q/shellexe.asp
    http://duckware.com/winopen.html
    http://www.win-software.com/catalog/run1.htm
    http://www.frontlook.com/flmm/mediamaker.asp

  3. #3
    Senior Member paulhiles's Avatar
    Join Date
    Jul 2003
    Posts
    2,073
    Hi info107,

    You didn't specify what type of 'files' you're going to put onto this CD. Are they HTML files? or have you made a presentation in PowerPoint?

    The autorun command needs to know the name of the application/exe file in order to run it... and whether it were PowerPoint or Explorer, if the host machine didn't have the program installed the CD would not load properly.

    Corey had some excellent suggestions above, I'd like to add a couple more links that have covered the same issue here at WPW!

    Emergency! Assistance needed!
    http://www.webproworld.com/viewtopic...hlight=autorun

    Making an autorun.inf file that works for Windows XP
    http://www.webproworld.com/viewtopic.php?p=5754

    If you think you're going to be doing this on a regular basis, it may be worth investing in a package that does it all for you! Just a thought! :o)

    I'd like to hear how you get on with this, and what your preferred option is!

    Good luck,

    Paul

  4. #4
    Junior Member
    Join Date
    Aug 2003
    Posts
    22

    Thanks!

    Thank you for your help!

    I don't understand one thing:

    "Try this in an autorun.inf file:
    [autorun]
    OPEN=Start \README.htm
    ICON=SC.ICO
    (SC.ICO is just the name of the icon I have also saved on the CD.)"
    How do I make this icon? with this extention...what program should I use?

    See you:)

  5. #5
    Senior Member Corey Bryant's Avatar
    Join Date
    Nov 2003
    Location
    Castle Pines North, CO
    Posts
    494
    You can use this website: http://www.favicon.co.uk/

Similar Threads

  1. ror.xml files
    By sub_kovert in forum Search Engine Optimization Forum
    Replies: 4
    Last Post: 01-10-2007, 01:48 PM
  2. php.ini files
    By PilotPete in forum IT Discussion Forum
    Replies: 1
    Last Post: 11-13-2006, 10:45 AM
  3. .txt Files
    By Needabed in forum Search Engine Optimization Forum
    Replies: 1
    Last Post: 07-28-2005, 10:52 PM
  4. pdf files
    By CheckPoint in forum Google Discussion Forum
    Replies: 1
    Last Post: 10-27-2004, 10:32 AM
  5. tag files
    By dbh_21 in forum Graphics & Design Discussion Forum
    Replies: 0
    Last Post: 12-15-2003, 11:10 AM

Posting Permissions

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