Windoze (Win7 in the example below) echo consumes everything on the command line unless it's quoted. Try:
c:\@Work\Perl\monks>echo "1 & echo 2 & echo 3" & echo two dos & echo t +hree "1 & echo 2 & echo 3" two dos three
MKS is intended to emulate *nix and is probably running in its *nix-ish shell, hence the *nix-ish behavior.
Update: Fixed command-line example code: && vice &.
In reply to Re: Semicolon behaviour in system call
by AnomalousMonk
in thread Semicolon behaviour in system call
by casual_prgmr
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |