CD Autorun

I have written some ".htm" documents onto a CD and I have been trying to make the CD Autorun when it is placed in the drive.
I created two files, "Autorun.inf" which contains the following:
            [Autorun]
            open=go.bat

and another file "go.bat" which contains
            start \default.htm
Default.htm is the document I wish to launch on autorun. I have been testing this on a Zip disc but can't get it to work. Any suggestions would be appreciated.
sjtAsked:
Who is Participating?
 
intheCommented:
here is a registry hack to make your autorun enabled for zip drive
Regards Barry

http://support.microsoft.com/support/kb/articles/q136/2/14.asp
0
 
intheCommented:
you are very close use this instead

[Autorun]
open=Default.htm

Regards Barry
0
 
sjtAuthor Commented:
Thanks Barry, I tried your suggestion using a ZIP disc. On insertion it opened a Window Explorer type window showing the contents of the zip disc but it did not automatically open the file "default.htm". I noticed that in the settings dialogue box for the zip drive (control panel, system properties, device manager) that the autoinsert check box is not able to be activated. Could this be the problem?
0
 
intheCommented:
most definatly as my method is the way to autorun a program of a cd.
make sure default.htm in the same directory as autorun.inf as it needs to be or specify the path ie:open path\default.html
note i put html not htm ,it is better to use html as it is true microsoft compliant then.
0
 
sjtAuthor Commented:
Thanks, just the information I needed.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.