Forum Moderators: phranque

Message Too Old, No Replies

how to start a cd automatically

when you need to run the index.html from a cd demo

         

bbitgen

9:05 am on Jan 5, 2004 (gmt 0)

10+ Year Member



hello friemds.
I need to make a cd demo for a web site, and I need to start the web site when I insert the cd, automatically.
how should I do that? an autoexec file? if so what should be the code?

It's a bit urgent if anyone may help, thank you very much.

thehittmann

9:19 am on Jan 5, 2004 (gmt 0)

10+ Year Member



The feature your talking about is called autorun
but it is not always turned on, on the users pc. Anyways this is what you need to do.

Determine what you want to autorun off the CD.

Create a new text file in a text editor. Type:
[autorun]
OPEN=*.*

Replace the first star with file name and the second star with the file extension of the app you wish to auto launch. If the file does not reside in the root directory of the CD, you must add the appropriate directory and a " " before the filename (e.g. OPEN=myfoldermyfile.exe). Save the text file as "autorun.inf".

When you burn the CD, add the autorun.inf file to the root directory of the CD.

Enable auto insert notification on the CD drive. You're all set.

bbitgen

10:00 am on Jan 5, 2004 (gmt 0)

10+ Year Member



thank you, I think it will work, but there is a problem:

I did that, and it says that it is not a win32 appliance or something like that. (it's in turkish so i don't really know its exact meaning in english).

What could be the problem?

SteveX

12:15 pm on Jan 5, 2004 (gmt 0)

10+ Year Member



That sounds a lot like the file you are calling to have opened isn't actually a valid executable.

What is it you are calling?

You might find this helpfull in the mean time:

http://www.ashzfall.com/products/autorun/

[edited by: engine at 8:35 pm (utc) on Feb. 21, 2004]
[edit reason] de-linked [/edit]

thehittmann

12:26 pm on Jan 5, 2004 (gmt 0)

10+ Year Member



If you use the method that i posted before
make sure that you are using a text editor....
like notepad. It will not work if you say...make it in word and rename the .doc file to a .inf

I know for a fact that this method works. I use it myself for flash presentations.

robert adams

5:38 pm on Jan 5, 2004 (gmt 0)

10+ Year Member



I don't believe that you can autostart an html file with the regular commands. You need to do something else first. I will try to find how I did it and get back to you.

robert

runre

3:29 pm on Jan 7, 2004 (gmt 0)

10+ Year Member



I have used freeware programs to make distributable CDs that open my HTML content upon insertion. I'll be happy to give more details but, a search on "CD Autorun" should turn up all of the links that you need.

Be sure to search the details for "HTML". You need to call a program that will interface with the browser in order to open HTML content via the Autorun feature. In essence you are 'autorunning' the program and not your web page :)

bcolflesh

3:32 pm on Jan 7, 2004 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



whirlywiryweb.com/q%2Fshellexe.asp