Results 1 to 5 of 5

Thread: Can i Make Autorun.ini Open a txt File???

  1. #1
    Join Date
    Apr 2009
    Posts
    16

    Can i Make Autorun.ini Open a txt File???

    I wanted to create a autorun.inf file on the CD. How can i create it???

    Thanks in Advance...!

  2. #2
    Join Date
    May 2008
    Posts
    4,831

    Re: Can i Make Autorun.ini Open a txt File???

    Here is some information that you will need to make a CD/DVD autorun.
    This feature of the CD is used by almost all the software manufacturers.
    When u insert a CD a program runs automatically.
    copy an icon(.ico extension) to a suitable folder that u want to give to ur CD.

    Then, open notepad & type the following code:


    Code:
    [autorun]
    icon=icon.ico
    open=filename.exe
    Then save the file as autorun.inf in a suitable folder.
    Here, "icon.ico" is an icon file with name "icon" and ".ico" is the icon's extension. "filename.exe" is the name of the executable file having "filename" as its name and ".exe" is the extension for any executable file.
    Now burn your CD/DVD normally as you do it usually.
    put the autorun.inf file that you created in the root directory not in any folder.
    If the Executive File and Icon File is not in the root drive, but in a folder, you will have to provide the path in the above code. Example:


    Code:
    [autorun]
    icon=\folder\icon.ico
    opne=\folder\filename.exe
    NOTE : Make sure you do not put the autorun.inf file in any folder, else the CD/DVD wont autorun.

  3. #3
    Join Date
    May 2008
    Posts
    3,316

    Re: Can i Make Autorun.ini Open a txt File???

    Here is the Microsoft result for how to create Autorun.inf

    Microsoft Site

  4. #4
    Join Date
    May 2008
    Posts
    4,570

    Re: Can i Make Autorun.ini Open a txt File???

    To create a CD that will auto-run is actually very simple. All you need to do is to create the file ‘AUTORUN.INF’ in the CD's root directory and put some simple commands in the file to indicate what you want to be auto-run. The file ‘AUTORUN.INF is a simple text file - so use notepad to edit it.

    The ‘AUTORUN.INF’ file must start with the following line:

    [autorun]

    It can then include any of the following (optional) commands - with each command placed on a separate line:

    icon=icon.ico -Specifies the name of the icon file that will be used by explorer as the icon for that CD.
    This may be the name of an executable file that contains an icon. If the executable contains more than one icon then an optional index field can be specified to indicate which icon to use:

    icon=iconfile,index

    label=text label - Text label that will be displayed against the CD within explorer.

    open=exefile - Specifies the command that is to be autorun when the CD is first inserted. It may include a path and any arguments.

    ShellExecute=datafile - Specifies an application or data file that is to be opened. Windows will launch the application associated with that file type to open the datafile.


    Note: ShellExecute is not supported under older versions of Windows (i.e. under Windows 95 or Window 98).


    For example to create a CD that will autorun the program ‘setup.exe’ would require an AUTORUN.INF file similar to:

    [autorun]
    open=setup.exe
    icon=setup.exe
    To create a CD that will autorun to open the html file ‘index.htm’ would require:

    [autorun]
    ShellExecute=index.htm
    icon=index.htm
    However, since some older versions of Windows do not support ‘ShellExecute’ a less elegant alternative would be:

    [autorun]
    open=command /c start index.htm
    icon=index.htm
    Be aware that the use of ‘command’ and ‘start’ restrict this to machines running Windows.

  5. #5
    Join Date
    Apr 2008
    Posts
    4,642

    Re: Can i Make Autorun.ini Open a txt File???

    Autorun.inf Maker

    Autorun.inf Maker is a freeware utility designed to assist in the creation of Autorun.inf files.

    Autorun.inf files allow the cd's you create to automatically launch an application when the cd is inserted in the cd player. Simply place the file you create with Autorun.inf maker in the root directory of your cd.

    Download Autorun.inf Maker (56k) for Windows 95 or higher or NT

Similar Threads

  1. How To Make A CD/DVD Autorun
    By FaMe FacToR in forum Tips & Tweaks
    Replies: 4
    Last Post: 22-10-2011, 11:53 PM
  2. Replies: 2
    Last Post: 03-02-2011, 06:04 AM
  3. How to make Autorun MP3 CD?
    By Chain-SmokeR in forum Windows Software
    Replies: 3
    Last Post: 25-08-2009, 11:51 PM
  4. autorun.inf file does not delete
    By KACY in forum Networking & Security
    Replies: 3
    Last Post: 04-04-2009, 06:15 PM
  5. Replies: 3
    Last Post: 03-12-2008, 02:02 PM

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Page generated in 1,642,871,650.47298 seconds with 17 queries