CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 3 of 3

Thread: autoexec

  1. #1
    Join Date
    May 1999
    Posts
    5

    autoexec

    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?


  2. #2
    Join Date
    May 1999
    Posts
    116

    Re: autoexec

    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.


  3. #3
    Join Date
    May 1999
    Posts
    5

    Re: autoexec

    Thank you Brian.



Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured