1.

Solve : Dos equivalent of UNIX "&"?

Answer»

Hello,

Does anyone know how to run a program from DOS, and then run a second program before the first program finishes?

For example, in a UNIX script, I could do:

command1 &
command2 &

and this would EXECUTE command2 before command1 had finished.....

Thanks in advance

You can use the start command, e.g.

Code: [Select]start cmd
will start a new MS-DOS shell in a new window and you can continue working in the old shell while the new is still there.

A more advanced example would be:

Code: [Select]start /min cmd /C "dir /s > dir.log"
It's up to you to figure out what HAPPENS

CHEERS,
[glb]cs[/glb]Thanks a LOT, that works fine...You're welcome



Discussion

No Comment Found