1.

Solve : Run 2 Executables Simultaneously from Batch?

Answer»

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,

JimmyCode: [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 prime95Thanks!

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,

JimmyWorked immediately. Thanks you very much.




Jimmy


Discussion

No Comment Found