background task

C

Cyrille Mertes

Hi,

How to start many process in the same time in widows 2000 ?

For example :

c:\robocopy.exe c:\SOURCE\a d:\DESTINATION\a /MIR /SEC
c:\robocopy.exe c:\SOURCE\b d:\DESTINATION\b /MIR /SEC
c:\robocopy.exe c:\SOURCE\c d:\DESTINATION\c /MIR /SEC
etc until
c:\robocopy.exe c:\SOURCE\z d:\DESTINATION\z /MIR /SEC

How can I start 26 process in the same time ?

Can we run a process in background like in unix systems ?

Thank you.

Cyrille.
 
P

Pegasus \(MVP\)

You can start an application in the background with

start /b c:\tools\SomeApp.exe

To start multiple instances of robocopy is a perfect way to slow
down the copy process and to wear out your disk, because it
greatly increases the amount of disk reading head travel that
is required. Take out a stop watch and measure the time to
complete two scenarios: One with successive processes,
and one with simultanous processes.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top