CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 3 of 3
  1. #1
    Join Date
    Jun 2002
    Posts
    103

    Question autorun html from cd

    is there a way to have your cd autorun an html file? i know it is done for .exe files, but don't know how for html's.

    Thanks.

  2. #2
    Join Date
    Feb 2001
    Location
    teh INTARWEB
    Posts
    542
    I think the command should be "START INDEX.HTML" (or whatever html page you have).

    Try typing it out from the command prompt also.

  3. #3
    Join Date
    Nov 2002
    Location
    Poland
    Posts
    27
    You have to create autorun.inf file in the root directory of cd.
    In this file type:

    [autorun]
    open=explorer.exe index.htm

    where index.htm is the html file You want to open.
    Good luck!
    Last edited by dziadek_lesny; November 19th, 2002 at 10:30 PM.

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