0

I have a batch file to start several programs. it has quit working. It starts the 1st 2 and stops. No error message.

e.g.

G:\KarenPwrTool\Replicator\PTReplicator.exe
G:\FileManagers\VfileViewer\v.exe F:\alk
G:\FileManagers\VfileViewer\v.exe G: 

I'm using Windows 10 version 22h2.

zx485
  • 2,337
yodar
  • 11

1 Answers1

0

This is somewhat an educated guess, but it seems to me that you want to start the (in this example) three programs in a row without stopping/hanging/waiting for each to complete, just like the Linux command suffix & in startProgram &.

To achieve this, you could use the approach of this SuperUser answer. It simply states that you can use the start /B prefix before your commands.

So, after applying this fix, your batch file could look like this:

start /B G:\KarenPwrTool\Replicator\PTReplicator.exe
start /B G:\FileManagers\VfileViewer\v.exe F:\alk
start /B G:\FileManagers\VfileViewer\v.exe G: 

If you need the output, use the redirect solution from the end of the answer.

zx485
  • 2,337