This article was previously published under Q172078
This article has been archived. It is offered "as is" and will no longer be updated.
Microsoft Windows 95 and Microsoft Windows NT 4.0 both support the Autorun feature for CDs.The Autorun feature detects when a CD is inserted into the CD drive or DVD drive, andthen runs an application based on the contents of the Autorun.inf file that is locatedon the CD.
A common use of this Autorun feature is to start an application's Setuproutine when the CD is inserted. This article discusses how to enable thisfeature for a Microsoft Visual FoxPro application.
For more information about how to enable, disable, or troubleshoot Autorun functionality, click the following article numbers to view the articles in the Microsoft Knowledge Base:
126025 How to disable the feature that allows CD-ROMs and audio CDs to run automatically
967715 How to disable the Autorun functionality in Windows
330135 The AutoRun feature or the AutoPlay feature does not work when you insert a CD-ROM in the drive
When a CD is inserted into the CD drive or DVD drive, the operating system checksfor a file that is named Autorun.inf in the root directory of the CD. This filecontains a pointer to an executable file that is named Autorun.exe.
The following Autorun.inf file is on the Windows 95 installation CD: