HTML and Code design insider tricks
CD Autorun activation explained
This is accomplished with two files and the target file that is to be launch on start-up. The first file is the autorun.inf file which is essentialy just a text file that can be edited with any text editor. The real secret is the executable file (autoseek.exe) that does all the work. Once called it is called by the autorun.inf file it activates a call to te associated file and loads the application to run it.
For customising the file all that is need is a to open the autorun.inf file and change the name of the last file in the second line (see-search.htm) for another one in the same directory. The only neccessary action is to keep all these files on the CD root or first directory.
This could be put to serveral uses such as web site demonstration, launch into a special application or even a music file. The one main requirement is that the file called up must be assocuiated correctly with an application. Especially important if it is to be distributed to others asr they may not have the same file association as you. Therefore use standard applications or the known file name associations of the recipients.
How to use these files
The file is packaged as a zip file for convenience and compactness. Copy this file onto the root directory of your CD and unzip them in that directory. Extract the three files, close down the CD and open the CD drive. Closing the drive with the CD in will now activate the auto start routine created by the autorun.inf file.
Files included in the see-search_autorun.zip:
Text file requesting the autorun feature and calling up the executable activation file (autoseek.exe) with the start up file (see-search.htm) which can be changed to any file so long as it is located in the same directory as the autoseek.exe file.
[autorun]
OPEN=autoseek.exe see-search.htm
Executable activation file that calls up the operating systems files to enable the start-up file to be launched.
An example of a start-up file that could be used on the CD. This could be anything so long as it an associated file type. This example uses the association of the Internet Explorer (or other your default browser) with the HTML file type (*.htm)
AUTORUN-README.txt
Text file with all the information required
Note: File name associations are the application that automatically runs when a particular file type (*.htm loads the web browser, *.doc loads MS Word, *.txt loads the standard text editor usually Notepad).
|