如何光盘自动运行html?

细心的人会发现,光盘总是有个autorun.inf文件,这个就是自动运行的配置文件。

[AUTORUN] 
OPEN=auto.exe

如果要运行html,可以这么做:

[AUTORUN] 
OPEN=c:\progra~1\intern~1\Iexplore   file:///d:\win98\index.html 

如果不给出iexplore的绝对路径好象不执行! 
index.html如果不给出绝对路径则执行结果为http://index.html,无法正确定位index.html!

或者:

[autorun]
shellexecute=index.html

另外执行多个程序,小笔暂时只能想到调用bat方式了,希望朋友们多赐教!!

 

posted @ 2012-08-17 14:09  Daniel大东  阅读(362)  评论(0编辑  收藏  举报