如何在CD / DVD上自动打开html页面 [英] How to make an html page open automatically on a CD/DVD

查看:194
本文介绍了如何在CD / DVD上自动打开html页面的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我需要在CD / DVD上包含一个html页面(目录)。当用户将CD / DVD放入他们的机器时,我想让html页面自动打开。有没有办法做到这一点(MSDN的CD这样做)或者通过购买软件或其他方式吗?

免费版) AutoRunPro



我记得当我遇到这个问题一次

  [autorun] 
shellexecute = path \to\ htmlfile.html

在大多数电脑上无法使用。我使用了一个名为AutorunPro.EXE的程序,将它复制到根目录下,并且autorun.inf是:

  [Autorun] 
open = AutoRunPro.exe

[AutorunPro]
;以下是Autorunpro的一些示例用途。它继续处理它们在Run1..RunN顺序,直到它找不到一个。
Run1 = index.htm
Run2 =。

此外,您可以一次性使用此方法打开多个程序,页面...... / p>

在任何一种情况下:事先测试您的方法,您实际上并不需要刻录CD / DVD才能这样做:
看这里


I need to include an html page (table of contents) on a CD/DVD. I'd like the html page to open automatically when the user puts the CD/DVD in their machine. Is there a way to do this (the MSDN cds do this) either by purchasing software or otherwise?

解决方案

I used (the free version of) AutoRunPro

I remember when I was confronted with the problem once

[autorun]
shellexecute=path\to\htmlfile.html

just wouldn't work on most PC's. I used a program called AutorunPro.EXE, just copied it in the root, and the autorun.inf was :

[Autorun]
open=AutoRunPro.exe

[AutorunPro]
; Here are some sample uses for Autorunpro. It keeps processing Them in Run1..RunN         order until it doesnt find one.
Run1=index.htm
Run2=.

Moreover, you can open several programs, pages, ... with this method in one go.

In either case : test your method beforehand, you don't actually have to burn a CD/DVD in order to do that : look here

这篇关于如何在CD / DVD上自动打开html页面的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆