Autorun v1.0 - Useful for autorun.inf files Copyright Steven Blackburn (November 1997) Usage ===== Autorun.exe <file> Asks the windows shell to open the <file> given on the command line. Why === This is useful in autorun.inf files. These files are used to, for example, make a setup program run automatically. It is possible to specify a file to be run when the drive is AutoPlay'ed or when the user selects AutoPlay from the context menu (right click) for the drive. The icon for the drive can also be specified. Note that this works for any drive, even hard disks. Just create an autorun.inf file and place it in the root directory. The problem with the autorun.inf is that it can't be used to open a document. The ability to load a HTML page when the user inserts the media would be particularly useful. This is why autorun.exe exists. Example Autorun.inf ------------------- cut here ---------------------------- [autorun] open=autorun.exe index.htm icon=drv_icon.ico ------------------- cut here ---------------------------- Licence ======= This software is Freeware. You may use it in anyway you like as long as it is distributed with this file. Disclaimer ========== The source for this program is one line long, so there is very little to go wrong. However, you use the program at your own risk. I disclaim responsibility for any damage caused, directly or indirectly by the program. Using the program indicates your acceptance of this.