The simple program of autorun.inf is as follow:
[autorun] is the the start of the program
Open is keyword what action to be taken on insertion
Setup.exe is the value defining the application that will be automatically started.
Icon is the keyword to determine the icon used for the disk.
Drawbacks of Autorun.inf:
If the autorun.inf contains virus it gets automatically executed and infects the computer.
Go to Control Panel\Hardware and Sound\AutoPlay.
At the top, check Use Autoplay for all devices and Click Save.
Uncheck Use Autoplay for all devices and Click Save.
If You have any suggestions or comments on this article, please feel free to comment in comments field.