Click to See Complete Forum and Search --> : autoexec


Katrin
May 26th, 1999, 01:02 AM
I need to write an "*.exe" file that suppose to run directly after I insert the cd to the cd drive (autoexec).
How can I do it?

BrianOG
May 26th, 1999, 01:41 AM
Write the program as normal.

On the root of the cd create a file called "autorun.inf"
The file should contain something like the following:

[autorun]
open=myapp.exe

Simple as that... for more info search for autorun.inf in the Visual C help.

Katrin
May 26th, 1999, 04:40 AM
Thank you Brian.