On Thursday 29 March 2007 09:04, Peter Cannon wrote:
> Anri Amaldi Ridwan wrote:
> > I'm a newbie at linux and I've just installed open SUSE 10.2 on my
> > system. Does anyone know of a program that will automatically execute
> > html page when a dvd/cd containing the page is inserted into the ODD?
> > Previously I've used shellexec on windows. Thanks for the help.

Save the following as autorun.bat:
@start index.html
@exit
(assuming the webpage you want is at the root (top) level of your CD/DVD, 
otherwise give the full path to index.html)

Save the following as autorun.inf:
[autorun]
open=autorun.bat
icon=cdrom.ico

Place autorun.bat and autorun.inf in the root (top) level of your CD/DVD.

-- 
Pob hwyl / Best wishes

Kevin Donnelly

www.kyfieithu.co.uk - KDE yn Gymraeg
www.klebran.org.uk - Gwirydd gramadeg rhydd i'r Gymraeg
www.eurfa.org.uk - Geiriadur rhydd i'r Gymraeg
www.rhedadur.org.uk - Rhedeg berfau Cymraeg
-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to