View Full Version : .EXE files?
01-18-2004, 03:19 AM
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.
01-18-2004, 05:47 AM
First copy the "start.exe" file from your c:\windows\command directory to your CD-ROM. then use
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:
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):
(** 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):
Here are some other suggestions as well:
01-18-2004, 07:29 AM
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!
Making an autorun.inf file that works for Windows XP
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!
01-19-2004, 03:54 AM
Thank you for your help!
I don't understand one thing:
"Try this in an autorun.inf file:
(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?
01-19-2004, 07:39 AM
You can use this website: http://www.favicon.co.uk/