August 8, 2003

Website on CD

In poking around today I came across the simplest way I’ve seen to auto run an HTML file from a CD.

Create autorun.inf containing:
[autorun]
open=autorun.bat

Create autorun.bat containing:
start index.html

Add those files to your CD. It works in Windows XP and 98. Presumably it won’t work on a Mac. In 98 the DOS window stays open, so you might want to echo a line like “Please close this window when you are finished.” But this simple method beats all the other ways I’ve seen of doing it, where someone wants you to buy a complete CD burning program.

Filed under The Computer Vet Weblog

Comments (0)

Comments RSS - Write Comment

No comments yet

Write Comment