I took this from foxite.com
Autorun for Applications Distributed on CD-Rom
In order to run an application from a CD-Rom one can do the following
Pace all run time files and exe in on directory on the CD. Include any OCX files that are required by the application.
Determine the users Temp directory with sys(2023)
As all files on the CD are read only, copy all files the application will attempt to update to the users temp directory determined in 2. above.
If Foxuser.DBF and CDX are used
- start the EXE with "SET RESOURCES OFF"
- Copy the Foxuser files to the temp directory
- then SET RESOURCES To the file in its new location.
5. In the root directory of the CD place a file called "AUTORUN.INF", which contains two lines i.e.
[autorun]
open=demo\autorun.exe
This assumes the exe to be run is located in a Directory "Demo" on the CD.
Links to other sites referred to.
HOWTO: Enabling Autorun for Applications Distributed on CD
http://support.microsoft.com/default.aspx?scid=http://support.microsoft.com:80/support/kb/articles/Q172/0/78.asp&NoWebContent=1 Q177143 PRB: "Error Writing to File" Error Using a Table on a CD-ROM
Q176707 PRB: Error "Not enough Diskspace" When Closing a Table
.......
DO WHILE .T.
ME.Work()
ENDDO