Autorun.inf is the primary instruction file associated with the Autorun function.
Save the following as autorun.inf and put it in the root.
[autorun] open=autorun.exe icon=autorun.ico
http://autorun.moonvalley.com/autoruninf.htm