Link to home
Start Free TrialLog in
Avatar of sjt
sjt

asked on

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.
Avatar of inthe
inthe

you are very close use this instead

[Autorun]
open=Default.htm

Regards Barry
Avatar of sjt

ASKER

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?
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.
ASKER CERTIFIED SOLUTION
Avatar of inthe
inthe

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of sjt

ASKER

Thanks, just the information I needed.