Hi LeeTutor,
I do this :
@echo off
START "title_1" "%PROGRAMFILES%\something.
START "title_2" "C:\Program Files\something_2.exe" /q
EXIT
And works great :))
Tks
Miguel
Main Topics
Browse All TopicsHi to all,
I'm stuck with this .....
I need to run a batch or vbs file to start two aplications ......
App_a
App_b
I'm using the following :
@echo off
App_a
App_b
EXIT
The only problem is when App_a starts the batch waits and only if i close the App_a it runs the App_b ....
I need to run both at the same time and exit/close the batch file ....
Miguel
This Question has been solved and asker verified All Experts Exchange premium technology solutions are available to subscription members.
Experts Exchange has been collecting answers to technology questions since 1996…3 million and counting! If you have a question, chances are we already have your answer.
If you can't find the exact answer you're looking for, ask our exclusive community of 50,000 experts. You’ll get a personalized answer from a trusted professional.
Thousands of free tech tips, tricks, how-to’s and tutorials are available in our peer reviewed articles section. See for yourself how smart our experts are, no login required.
Access the answers to your technology questions today.
30-day free trial. Register in 60 seconds.
Members of the expert community talk about why the experience at Experts Exchange is different than what you will find anywhere else.

Try it out and discover for yourself.
30-day free trial. Register in 60 seconds.
Join the community of experts here and help other tech pros by answering question in your area of expertise. You can earn FREE access to all Experts Exchange's premium features and resources.
Business Accounts
Answer for Membership
by: LeeTutorPosted on 2006-03-21 at 14:42:13ID: 16252520
I believe you need to use the START command (without the /WAIT parameter) to do this. Here is some info on the START command:
e
START
Start a specified program or command in a separate window.
syntax
START "title" [/Dpath] [options] [command] [parameters]
key
WHAT to run
path : Starting directory
command : The NT Command, Batch file or executable program to run
parameters : The parameters passed to the command
HOW to run it
/MIN : Minimized
/MAX : Maximized
/WAIT : Start application and wait for it to terminate
/LOW : Use IDLE priority class
/NORMAL : Use NORMAL priority class
/HIGH : Use HIGH priority class
/REALTIME : Use REALTIME priority class
"title" : Text for the CMD window title.
/B : Start application without creating a new window. In this case
^C will be ignored - leaving ^Break as the only way to
interrupt the application
/I : Ignore any changes to the current environment.
Options for 16-bit WINDOWS programs only
/SEPARATE Start in separate memory space (more robust)
/SHARED Start in shared memory space (default)
Bugs:
Although ["title"] is supposedly an optional parameter, when it is omitted other options may be interpreted as being the title - so to be absolutely sure just put something in like "My Script".
Documents
Document files may be invoked through their file association just by typing the name of the file as a command.
e.g. START WORD.DOC would launch the application associated with the .DOC file extension
Printers
A new printer can be installed very quickly (and the driver downloaded) with the command
START \\print_server\printer_nam
Setting a Working Directory
To start an application and specify where files will be saved
START /Dc:\Documents\ /MAX notepad.exe
Note that START /D does not support long filenames which contain spaces, a workaround is to use the 8.3 compatible name(s)
Forcing a Sequence of Programs
If you require your users to run a sequence of 32 bit GUI programs to complete a task, create a batch file that uses the start command:
@echo off
start /wait /b <First.exe>
start /wait /b <Second.exe>
start /wait /b <Third.exe>
Create a shortcut to this batch file and place it on the Start menu or desktop. Set it to run minimized.
When the user double-clicks the shortcut, <First.exe> runs.
When <First.exe> terminates, <Second.exe> runs
When <Second.exe> terminates, <Third.exe> runs
An alternative method is to run a .BAT batch file under command.com (16 bit)
If Command Extensions are disabled, the START command will no longer recognise file Associations, and will not automatically evaluate the COMSPEC variable when starting a second CMD session.
Missing file extensions
When executing a command line whose first token does NOT contain an extension, then CMD.EXE uses the value of the PATHEXT environment variable to determine which extensions to look for and in what order. The default value for the PATHEXT variable is:
.COM;.EXE;.BAT;.CMD
Notice the syntax is the same as the PATH variable, with semicolons separating the different elements.
When executing a command, if there is no match on any extension, then NT will look to see if the name, without any extension, matches a directory name and if it does, the START command will launch Explorer on that path.
"Do not run; scorn running with thy heels" - Shakespear, The Merchant of Venice
Related commands:
CALL - Call one batch program from another
CMD - can be used to call a subsequent batch and ALWAYS return even if errors occur.
GOTO - jump to a label or GOTO :eof
Q162059 - Opening Office documents
Equivalent Linux BASH commands:
.period - Run commands from a file