|
|
||||||
|
||||||
| Index Link To US Private Messages Archive FAQ RSS | ||||||
| Web Programming Discussion Forum Working with an API? Developing a plugin? Writing a Mod or script for your favorite blog, Web 2.0 site or Forum? Welcome. |
Share Thread: & Tags
|
||||
|
![]() |
|
|
LinkBack | Thread Tools | Display Modes |
|
|||
|
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. |
|
|||
|
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 |
|
||||
|
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 |
|
|||
|
Thank you for your help!
I don't understand one thing: Quote:
See you:) |
|
|||
|
You can use this website: http://www.favicon.co.uk/
|
![]() |
|
| Thread Tools | |
| Display Modes | |
|
|
|
WebProWorld |
Advertise |
Contact Us |
About |
Forum Rules |
MVP's |
Archive |
Newsletter Archive |
Top |
WebProNews
WebProWorld is an iEntry, Inc. ® site - © 2009 All Rights Reserved Privacy Policy and Legal iEntry, Inc. 2549 Richmond Rd. Lexington KY, 40509 |