Home / Microsoft / Microsoft DOS / Run 2 Executables Simultaneously from Batch
0 Members and 1 Guest are viewing this topic. « previous next »
Pages: [1] - (Bottom) Print
Author Topic: Run 2 Executables Simultaneously from Batch  (Read 445 times)
Jimmy_Question
Guest
« on: July 29, 2006, 03:09:45 PM »

Greetings!

I am Overclocking my Opteron 165 and need to run two instances of Prime95 (one for each core) in order to test for stability.

Usually, I click two separate shortcuts, but today I am trying to write a batch program to launch both instances simultaneously.

I've tried many different things, but what is happening is that the shortcut is launching the first command, but will not launch the second until AFTER the first one is closed.  Which defeats the purpose of having both of them run at the same time.

Is there a command-line parameter I need to know about?

Thanks in advance, any help appreciated,

Jimmy
IP logged
Sidewinder
Guru



Thanked: 97
Posts: 4,341

Experience: Familiar
OS: Windows 7

« Reply #1 on: July 29, 2006, 06:16:03 PM »

Code: [Select]
@echo off
start prime95
start prime95

I don't know how to specify which core to run on, but using the start command will initiate two instances of your program without waiting for one to end.

 8-)

Note: Depending how your system is organized, you may have to specify a path to prime95
IP logged

If you don't know where you are going, any road will get you there

                                                                            -Lewis Carroll
Jimmy_Question
Guest
« Reply #2 on: July 29, 2006, 08:30:19 PM »

Thanks!

Quote
@echo off
start C:\DownLoad\1Prime95\PRIME95.EXE
start C:\DownLoad\2Prime95\PRIME95.EXE

I haven't tried it yet, but this is the text of it.

I'll come back & complain if it doesn't...

 ;)

Thanks,

Jimmy
IP logged
Jimmy_Question
Guest
« Reply #3 on: July 29, 2006, 08:32:56 PM »

Worked immediately.  Thanks you very much.


 ;D

Jimmy
IP logged
Pages: [1] - (Top) Print 
Home / Microsoft / Microsoft DOS / Run 2 Executables Simultaneously from Batch « previous next »
 


Login with username, password and session length

Old Forum Search | Forum Rules
Copyright © 2010 Computer Hope ® All rights reserved.
Powered by SMF 2.0 RC3 | SMF © 2006–2010, Simple Machines LLC
Page created in 0.109 seconds with 20 queries.