View Full Version : .EXE files?
info107
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.
Corey Bryant
01-18-2004, 05:47 AM
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
paulhiles
01-18-2004, 07:29 AM
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.php?t=7957&highlight=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
info107
01-19-2004, 03:54 AM
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:)
Corey Bryant
01-19-2004, 07:39 AM
You can use this website: http://www.favicon.co.uk/