#1
Hi guys, got a problem with an IT project that has to be handed in later on today.
I've made a project in FrontPage and I've put it onto a disk. I'm trying to get this to open up the homepage automatically when I put the disk into a computer.
Apparently I need to mak an autorun file or something to put on the Cd with the project files, but I've tried and the thing I made came up with an error...

Does anyone have a clue how I make a proper one? or know of any computer forums where I can find out? (I've searched but can't find any).

Any help greatly appreciated, cookies to the person who gets it =)

Pos.
Quote by metaldud635
Has anyone ever caught their parents doing it?

Quote by Kid_Thorazine
yeah, multiple times, and I usually joined in, still do in fact.

Quote by Vagabond21
Aaahh yes, the great state of Kentucky
#3
Make a file in the root dir of your CDROM called autorun.inf.
In this file, put the lines:

[autorun]
open=homepage.html
icon=autorun.ico

Icon can be any small JPG you like (I think 30x30 pixels). You don't have to include this line in the code though.
#4
hmm... thats what i did origionally... i got an error saying "E:\ Is not a valid win32 application" or something... =(


edit: wait, I went to "run" and opened the notepad, that the same as the "root dir" thing?
Quote by metaldud635
Has anyone ever caught their parents doing it?

Quote by Kid_Thorazine
yeah, multiple times, and I usually joined in, still do in fact.

Quote by Vagabond21
Aaahh yes, the great state of Kentucky
Last edited by †[Posessed]† at May 2, 2008,
#5
Try this then:

Create the autorun.inf as described, with these lines:

[autorun]
open=autorun.bat

Create a file called autorun.bat with these lines in it:
@echo Loading CD
@start index.html
@cls
@exit

Assuming your home page is called index.dat, that is.
#6
index.htm? I think...


where do I write this text?
Quote by metaldud635
Has anyone ever caught their parents doing it?

Quote by Kid_Thorazine
yeah, multiple times, and I usually joined in, still do in fact.

Quote by Vagabond21
Aaahh yes, the great state of Kentucky
#7
[quote="'†[Posessed"]†']index.htm? I think...
where do I write this text?

Just download this. http://www.softwarepatch.com/downloads/autorun.zip

It has the autorun.inf and the .bat files already made.

You will need to edit the .bat file to point at your index.htm file though. You can right click on the .bat file and select EDIT to do this!
#8
It works!! =D Thanks so much!!

Just one thing... my background has dissapeared on all of the pages... o_O but it works!! =)
Quote by metaldud635
Has anyone ever caught their parents doing it?

Quote by Kid_Thorazine
yeah, multiple times, and I usually joined in, still do in fact.

Quote by Vagabond21
Aaahh yes, the great state of Kentucky
#9
[quote="'†[Posessed"]†']It works!! =D Thanks so much!!

Just one thing... my background has dissapeared on all of the pages... o_O but it works!! =)

Ha! Well, least it works! Don't ask me about building websites though! In the words of the worlds favourite hotel manservant: "I know nothing"!
#10
hah :P
naw, thats great, thanks alot =) I really needed to get that done =D woo!
Quote by metaldud635
Has anyone ever caught their parents doing it?

Quote by Kid_Thorazine
yeah, multiple times, and I usually joined in, still do in fact.

Quote by Vagabond21
Aaahh yes, the great state of Kentucky