Well, first you have to understand the DOS commands a bit. By finding yourself a healthy appitite for DOS you open many doors that at one time were hidden to you. Such as, the wonderful world of Batch files, and .COM files, then further down the learning curve you'll reach assembly and so on. But, for now that's waiting for you in another tutorial somewhere. Right now I am going to show you a way to autorun your CD's with any file type associated to them.
Ok, first fire up NotePad.exe. Once it is loaded type the following:
[autorun] open=start index.htm
Now simply render the file as AUTORUN.INF. Now simply save it to your root directory and burn the directory including subfolders, files, etc. to a CD-R.
Note: ------ If you use this method, Windows briefly displays a DOS prompt window. Also you should make sure that START is a command that your DOS version has. You can do this by fireing up the DOS prompt and typing:
After you type the above and hit the enter key a description of that command should display, if it doesn't then you don't have it. So the above autorun command will not work for you. So if you find yourself START deficiant try the next example.
Again, now simply render the file as AUTORUN.INF. Now simply save it to your root directory and burn the directory including subfolders, files, etc. to a CD-R.
Note: ------ As long as you are using a recent Window$ version then this command should work. Plus, this will not show a DOS prompt upon auto load. Therfore, this method may be a more idea choice for the DOS haters.