Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Rhinorhino on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Automatic start from CD

Status
Not open for further replies.

abvoss

Technical User
Joined
Dec 30, 2003
Messages
3
Location
US
I don't know if this is even possible. I want to save a website that I developed to a CD for advertising purposes. I would like the website to automatically open when the CD is inserted rather than having the client search for the index page, etc. Is this possible? If so, how is it done?
Thanks, Annette
 
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

If you have no success with that you may want to consider using:


(which is freeware) or something like:


(which isn't freeware).


__________________________
Corey

 
Thank you very much Corey, it worked great!
Annette
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top