PDA

View Full Version : I want my index.html file opened autuomatically by win in cd-rom


ConfusedOfLife
03-03-2005, 10:36 PM
Hey guys

Let's say I have a sort of multimedia CD with lots of HTML files in it. I want my index.html file to get opened automatically when my client puts the CD in his/her cd-rom. I know I sort of need an external programming language like Delphi to do it for me, but do anyone of you have a similiar program that can do this?

Thanks again,
bijan

codegoboom
03-04-2005, 07:48 AM
"autorun" is the keyword...

ConfusedOfLife
03-04-2005, 08:40 AM
Thanks! Now I hope I can find someone to gimme the answer!

tboss132
03-04-2005, 08:43 AM
Html files don't run by themselves. You need to create something to open it. The simplest way is to create a batch file.
put this code in notepad

@echo off
start index.html
and save it as autorun.bat
Then create your autorun.ini to contain
[AutoRun]
open=autorun.bat


This way is quite clumsy at times but it meets some basic needs. I usually use Autoplay Media Studio (http://www.indigorose.com/ams/) by indigorose.

codegoboom
03-04-2005, 09:05 AM
Thanks! Now I hope I can find someone to gimme the answer!
Well, if you'd bothered to search using the "magic word", you may have found this has already been answered all over the place... duh! :p

I'll take that back if you meant "someone to gimme" to mean something else... :D