There's no special flag to enable autorun - it's in the registry & enabled by default. Autorun.inf can replace the default action for double-clicking on the removable drive from simply opening the contents to launching a specific executable file.
My USB thumbdrive goes plugs into a lot of untrusted computers, and there's a trick I use to find out when it has been infected by worms that use autorun.inf as a vector. I use autorun.inf to set an icon for my drive. When infected, the drive will show up as the default removable disk icon & not my custom icon.
My autorun.inf is shown below
[autorun]
shellexecute=XDrive\Programs\winPenPack.exe
icon=autorun\lock.ico
Oh, and the second line is similar to the one used by worms, only that I use mine to launch a 'start menu'-like app for portable apps on my flash disk (see Portable apss, Win Pen Pack )
Either way, paper technical books are pretty much dead trees to me
There, fixed it for you
No, here in the third world, we have to switch on our boxen after powercuts, you insensitive clod!. And after watching that Al Gore documentary, don't you feel a little guilty not shutting down your box when not using it - think of the glaciers and the penguins.Rebooting is something you do only after a kernel upgrade...
"Take that, you hostile sons-of-bitches!" -- James Coburn, in the finale of _The_President's_Analyst_