PDA

View Full Version : Copy a web to disk and have it autostart



jtighe
10-13-2002, 05:30 PM
Is there a way to put my frontpage website on a cd and have it autostart when placed in the cd drive?

justjay
10-13-2002, 05:38 PM
Yes, there is a way to create an auto start disk. There is a short piece of "code" you need to write (in Notepad) and save as autorun.inf. Place this autorun.inf file in the root of the directory for the CD's files...(for example: D:/autorun.inf)

Autorun files are normally associated with executable files, and since you are using FP, I'm assuming you are using HTM (or HTML) files, which are not executable. These instructions only work on Windows computers, so you may need additional information for any Mac users.

1) Open Notepad
2) type the following 2 lines:


[autorun]
ShellExecute=index.htm


3) Save As autorun.inf
4) Place in the root of the CD (probably same level as index.htm)

the index.htm can be replaced by any page you wish the autorun CD to open first.

Good luck!!!