Quote:
Testing AutoRun on Floppies
If you are feelimg miserly with your CD-Rs, you can test the AutoRun facilities on a floppy disk.
First, you must enable AutoRun on floppies. Start the Registry Editor (Start+Run regedit) and search for NoDriveTypeAutoRun. Modify the entry from "95" to 91". (Or from "B5" to "B1" if you have disabled AutoRun on CDs.) Do not forget to put this back again when you are finished.
Now log off and log on again. You will have to do this after every change to the AUTORUN.INF file on a floppy.
To test, open "My Computer" and double-click on the A: icon. Alternatively, right-click on the A: icon (or in Windows Explorer, right-click on the A:) to get the pop-up menu; select AutoRun to run your program.
If you have specified other AUTORUN options, see below, then these should be listed in the pop-up menu.
Other AUTORUN options
In addition, AUTORUN.INF may have a shell command that lets you specify one or more entries in the pop-up menu when the user right-clicks on the CD icon. The shell entries supplement the open command.
This example shows how to add two entries to the menu (Read me - to display the README.TXT file in notepad, and Software list - to show HTML file software.htm):
[AutoRun]
shell\readme\command=notepad README.TXT
shell\readme=Read &me
shell\software\command=ShellRun.exe software.htm
shell\software=Software list
Any verb string (without spaces) can appear after "shell\"; "readme" and "software" were used above.
On one line, append "\command=" followed by the command you want to run. On the next line, append "=" and the text that appears in the menu. As usual, an ampersand character (&) precedes the short-cut menu key.
Finally, AUTORUN.INF may have other sections for other NT/W2000 users, ie MIPS [autorun.mips], DEC Alpha [autorun.alpha] and PowerPC [autorun.ppc].
Cheers, jag291