Link to home
Start Free TrialLog in
Avatar of jgla
jgla

asked on

foolproof autorun

What is the best way to set up an autorun for a CD-ROM? I've got a web project a client wants on CD-ROM and I tried using

[autorun]
OPEN=start index.html

Where index.html is the starting page, but it won't run on the client's PC. They run XP Pro if that makes a difference. Would it be better to hard code the path to the browser .exe?

And what are autorun.exe's? Are they a better way to start a CD?
Avatar of Bit_Twiddler
Bit_Twiddler

Since HTML files are not self executing you need to use start.exe.

First copy the "start.exe" file from your c:\windows\command directory to your CD-ROM.


then use


[autorun]
open=start.exe index.html


One disadvantage of this method is that it will display a transient DOS window before the default browser fires up.

If this is an issue then you will need to use a third party program like ShellRun  http://www.phdcc.com/shellrun/ to replace start.exe. It is available as freeware and a retail version. Others are also available to do the same task.





ASKER CERTIFIED SOLUTION
Avatar of RockinFewl
RockinFewl

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 jgla

ASKER

Just the right answer! Thanks.
You're welcome jgla.