Go Back   TechArena Community > Software > Windows Software
Become a Member!
Forgot your username/password?
Register Tags Active Topics RSS Search Mark Forums Read SiteMap

Tags: , , , , ,

Sponsored Links



Autorun CD using Batch file for Multiple Executables

Windows Software


Reply
 
Thread Tools Search this Thread
  #1  
Old 19-01-2010
DANIEL 602's Avatar
Member
 
Join Date: Jul 2006
Posts: 212
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
Reply With Quote
  #2  
Old 19-01-2010
JonathanD's Avatar
Member
 
Join Date: May 2008
Posts: 4,325
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
Reply With Quote
  #3  
Old 19-01-2010
Macarenas's Avatar
Member
 
Join Date: May 2008
Posts: 4,810
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.
Reply With Quote
  #4  
Old 19-01-2010
DANIEL 602's Avatar
Member
 
Join Date: Jul 2006
Posts: 212
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
Reply With Quote
  #5  
Old 19-01-2010
chroma's Avatar
Member
 
Join Date: Apr 2008
Posts: 2,144
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
Reply With Quote
  #6  
Old 19-01-2010
Raine's Avatar
Member
 
Join Date: May 2008
Posts: 3,287
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.
Reply With Quote
Reply

  TechArena Community > Software > Windows Software


Thread Tools Search this Thread
Search this Thread:

Advanced Search


Similar Threads for: "Autorun CD using Batch file for Multiple Executables"
Thread Thread Starter Forum Replies Last Post
Multiple commands in batch file loop mrgou Vista Help 9 26-04-2011 09:04 PM
End Multiple Processes With The Help Of Batch File Sheenas Operating Systems 6 21-04-2011 01:53 AM
Windows Batch file to output directory names and size to txt file m2thearkus Software Development 6 16-07-2010 01:04 AM
batch file to split multiple text files in half. yammyguy Windows Server Help 8 11-05-2009 07:19 PM
Multiple commands for a batch file in a for loop? SANDESH49 Software Development 2 17-02-2009 07:03 PM


All times are GMT +5.5. The time now is 10:02 PM.