Results 1 to 6 of 6

Thread: Autorun CD using Batch file for Multiple Executables

  1. #1
    Join Date
    Jul 2006
    Posts
    273

    Autorun CD using Batch file for Multiple Executables

    Hi Friends,
    I am new on this forum. I want some help so I am here. I am trying to make an AutoRun CD. Also I have made the inf file that launches a batch file. But it is not working properly. I am using the Windows XP as my operating system. Does anyone out there know how to make an Batch file of the Autorun CD for Multiple Executables.? Hope that I will get the help soon.
    (\__/)
    (='.'=) This is Bunny. Copy and paste bunny into your
    (")_(") signatureto help him gain world domination

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

    Re: Autorun CD using Batch file for Multiple Executables

    An Autorun.inf file is a file that, when placed on a drive (internal or external), will allow the drive to start programs, have a different icon than the standard boring one , and have a different name. The syntax is "option=value". I think that you should make a inf file properly. That inf file should able to launch the batch file. You can use the following for making an inf file that Autorun CD using Batch file for Multiple Executables:

    @echo loading cd
    @start/wait "formulator software\formulator Setup.exe"
    @start formulator.exe
    @cls
    @exit

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

    Re: Autorun CD using Batch file for Multiple Executables

    If you are having the Windows XP as your operating system, then Windows drivers must have an INF file in order to be installed. An INF file is a text file that contains all the information necessary to install a device, such as registry information, version information, driver names and locations, that is used by the Setup components. The Driver Development Tools provide some tools to assist with writing INF files. So you can use the DDT for making an inf file. Each section of inf contains section-specific entries, which are interpreted by Setup software. Some entries begin with a predefined keyword. These entries are called directives.

  4. #4
    Join Date
    Jul 2006
    Posts
    273

    Re: Autorun CD using Batch file for Multiple Executables

    I would like to thanks you all for trying to help me.!! As told by 'JonathanD' I tried using the commands that you told me but that doesn't helped me. After using that command a CMD window opens which says loading CD. Then another cmd window (named formulator software\formulator Setup.exe) opens displaying the drive letter D:\>. Also I got "Installation is corrupted" error message. Hope that you can provide me more help.
    (\__/)
    (='.'=) This is Bunny. Copy and paste bunny into your
    (")_(") signatureto help him gain world domination

  5. #5
    Join Date
    Apr 2008
    Posts
    2,139

    Re: Autorun CD using Batch file for Multiple Executables

    You have mentioned that I got another code so that the another cmd window opens displaying the drive letter D:\> which is named as formulator software\formulator Setup.exe. I am having another code that worked for me. Also there was no another cmd window opening with any Error message. Here is the code for that :
    Code:
    @start /wait "loading cd" "formulator software\formulator Setup.exe"
    @start formulator.exe
    @cls
    @exit

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

    Re: Autorun CD using Batch file for Multiple Executables

    Since you have stated that you want to be loaded on a CD. You will need to create Autorun.inf file that launches the bat file that launches the exe files. The inf file looks like this :
    Code:
    [AutoRun]
    open=autorun.bat
    icon=formulator.ico,0
    label=formulator Installer
    Otherwise you can also try this :
    Code:
    [AutoRun]
    open=autorun.bat
    WindowMode=Minimized
    icon=formulator.ico,0
    label=formulator Installer
    Hope that one of the above will help to sort out your issue.

Similar Threads

  1. Multiple commands for a batch file in a for loop?
    By SANDESH49 in forum Software Development
    Replies: 4
    Last Post: 08-05-2012, 10:40 AM
  2. Multiple commands in batch file loop
    By Toshaan in forum Vista Help
    Replies: 10
    Last Post: 08-05-2012, 10:39 AM
  3. End Multiple Processes With The Help Of Batch File
    By Sheenas in forum Operating Systems
    Replies: 6
    Last Post: 21-04-2011, 12:53 AM
  4. batch file to split multiple text files in half.
    By yammyguy in forum Windows Server Help
    Replies: 8
    Last Post: 11-05-2009, 06:19 PM
  5. autorun.inf file does not delete
    By KACY in forum Networking & Security
    Replies: 3
    Last Post: 04-04-2009, 06:15 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,714,065,050.10367 seconds with 16 queries