DOWNLOAD: Best tool to repair Windows problems & optimize system performance | Best driver update software for your PC
 
Results 1 to 2 of 2

Thread: How to create an Autorun file for your CD/DVD

  1. #1
    riteshtechie's Avatar
    riteshtechie is offline Software Developer
    Join Date
    Mar 2009
    Posts
    880

    Default How to create an Autorun file for your CD/DVD

    If you have created a program and want to let it autorun when someone insert a CD/DVD in their PC then all you need to do is burn a small file with that program.

    Say you have a “XYZ.EXE” program and you want to run it automatically when one insert your CD/DVD, than all you need to is to burn“Autorun.inf” file along with the XYZ.EXE program in the CD/DVD.

    Autorun.inf is a simple text-based configuration file that tells the operating system which executable to start, which icon to use etc. In other words, autorun.inf tells Windows how to deal open the presentation and treat the contents of the CD.

    To make your CD/DVD autorun follow the below steps -

    1. Open Notepad

    2. Now write the following line as it is -



    [autorun]
    OPEN=XYZ.EXE
    3. Now save it as “Autorun.inf”

    4. Now burn your CD with the autorun .inf file included.

    5. That’s it.

    Source beingPC

  2. #2
    rkonit's Avatar
    rkonit is offline Gold Member
    Join Date
    Jul 2008
    Location
    Pilani, India
    Posts
    1,363

    Default

    Nice...Ritesh!!! few more additions.. like icon and other context menu handlers...

    [autorun]
    OPEN=SETUP.EXE
    ICON=SETUP.EXE,0
    shell\configure=&Configure...
    shell\configure\command=SETUP.EXE
    shell\install=&Install...
    shell\install\command=SETUP.EXE
    shell\admin\=&Launch the Office Customization Tool
    shell\admin\command=SETUP.EXE /admin
    shell\cmdline\=setup &Controller Command-Line Help
    shell\cmdline\command=SETUP.EXE /?

Posting Permissions

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

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22