Tips and Tricks CD2HTML crashes on my Win95/NT4 system after closing the splash screen On some older Win95 and NT versions there are some dated libraries. By installing the latest release of Internet Explorer you can update these libraries. Then you can start CD2HTML without any problems. How can I easily switch between different presets and see the results in the HTML preview? After scanning the files you can preview the result in the HTML preview. If you want to change the layout by choosing another preset or if you have changed some options, you can view the changes directly by pressing the reload button from the HTML preview. This is also very practical when you are working on the current HTML template. The icons and pictures will not be refreshed (except if you made changes to the image options in the options dialog). Autorun function for HTML files from CD-ROM under Windows If you have created an HTML index for your CD-ROM, you certainly want to autorun them after inserting the CD-ROM. The easiest way would be to create a file autorun.inf in the root directory on the CD-ROM with an entry like open=homepage.htm. The only problem is that this won't work. You can only run executable files out of an autorun.inf. A solution is to include a helper application like the Microsoft program SHELEXEC.EXE. So following code shows an autorun.inf in combination with SHELEXEC.EXE: [autorun] icon=.\cd.ico open=shelexec .\index.htm shell\verb\command=shelexec .\index.htm shell\verb=My CD Simply pass the file to start as parameter to SHELEXEC.EXE and after inserting the CD, Windows will automatically run the associated program (e.g. the Internet Explorer) to open the HTML index. The lines containing shell\verb\command and shell\verb\ are optional. These two lines will create a shortcut My CD in the shortcutmenu if you press the right mouse button on the CD icon. You can add more of these line pairs to add additional shortcuts (for other indexes or files). You get the same result if you use the line open=explorer .\index.htm without needing the SHELEXEC.EXE on CD. But the advantage of using SHELEXEC.EXE is that you can open any file which is registered in Windows, e.g. the line open=shelexec .\instructions.pdf would work too. To make the root of the CD more clear to the end user you can hide the files cd.ico and SHELEXEC.EXE by enabling the hidden attribute of these files. You can get SHELEXEC.EXE by live search with FTPSearch here or here at the MSDN server. |