471,092 Members | 1,357 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 471,092 software developers and data experts.

AUTORUN HTML file ?

How can a distribution CD AUTORUN.INF file be made to
open an HTML page using the system browser rather than
running an exe on the distribution CD?

Thanks
Liath
Jul 21 '05 #1
2 1497
On Fri, 28 Nov 2003 05:48:15 -0800, "Liath Macha" <li***************@yahoo.remove.com> wrote:

How can a distribution CD AUTORUN.INF file be made to
open an HTML page using the system browser rather than
running an exe on the distribution CD?

See the ShellExecute command:

http://msdn.microsoft.com/library/de...play_intro.asp

There are quite a few utilities available as well:

http://www.google.com/search?as_q=autorun+utility
Paul ~~~ pc******@ameritech.net
Microsoft MVP (Visual Basic)
Jul 21 '05 #2
Hi,

In the autorun.inf file, write the following
[autorun]
OPEN=main.html
ICON=pcw.ico

where, point your HTML file (or whatever file) on the OPEN command and the icon you want to appear on the ICON command.

Regards,

Bhaskardeep Khaund
Jul 21 '05 #3

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

reply views Thread by M.E.Farmer | last post: by
11 posts views Thread by Ray5531 | last post: by
2 posts views Thread by Liath Macha | last post: by
5 posts views Thread by Orv | last post: by

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.