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:
START /?
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.
Now who's to say it will work for anyone. Just try it! If it doesn't work for you
then your out what 10 cents. Maybe 20 cents if you try both methods. Big deal right?
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.