none
OPEN parameters in an autorun.inf file RRS feed

  • Question

  • I created a CD with an autorun file as follows:

        [autorun]

        open=Start.cmd

    The autorun.inf doesn't start when the CD is inserted, and the options box doesn't appear.  But, Start.cmd file is in the root of the CD, and works as expected if run directly.

    Can a .cmd file be run with the open command?  If not, what's the best way to run it?  The Start.cmd file calls a .htm file:

        cd Introduction

        description.htm

    Thanks, in advance, for any help provided!

    Roy

    Tuesday, October 4, 2011 4:15 PM

All replies

  • Use instead:

    [Autorun]
    shellexecute=Start.cmd

    You can comment out entries with a ";", like so:

    ; open=Start.cmd

    // Magnus

    • Edited by M.Beutner Wednesday, October 12, 2011 9:39 PM
    • Proposed as answer by M.Beutner Monday, July 30, 2012 10:50 PM
    Wednesday, October 12, 2011 9:36 PM