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?
Printable View
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?
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.
Thank you Brian.