Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

What's the difference between `myprogram` and `start /w myprogram`?

Tags:

cmd

In a Batch (cmd.exe) script, what's the difference between running commands directly:

myprogram

and running them using start /w?

start /w myprogram
like image 524
Andres Riofrio Avatar asked Apr 28 '26 01:04

Andres Riofrio


1 Answers

http://support.microsoft.com/kb/198044



When you use this method (the /w), the programs in the batch file are started sequentially. The next program does not start until you quit the previous program.

like image 148
zortacon Avatar answered May 04 '26 11:05

zortacon



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!