Cry How To...
Create a CD that will autorun an HTML file maximized
For notes on how to create a CD that will autorun please refer to the article ‘Create a cd that will autorun’.
To create a cd that will autorun to open the html file ‘
non-maximized would require the following ‘
There are two methods to create a CD that will autorun, displaying an HTML file maximized:
The following ‘
autorun.inf’ file invokes the command processor
to start a full screen browser on the html file ‘
open=command /c start /max index.htm
Be aware that the use of ‘
command’ and ‘
restrict this to machines running Windows. It is therefore not portable
to other platforms.
after it has been displayed. The ‘
autorun.inf’ file requires
nothing other than to invoke the browser:
The disadvantage of this approach is that it isn't strictly maximizing the window - it is resizing it to take advantage of the full screen size, but it should be portable to non-Windows platforms.
These notes are believed to apply to all versions of Windows.
About the author: Brian Cryer is a dedicated software developer and webmaster. For his day job he develops websites and desktop applications as well as providing IT services. He moonlights as a technical author and consultant.