set mail=backups:
set mail=%mail%"|pc1-OK"
set mail=%mail%"|pc2-OK"
set mail=%mail%"|pc3-OK"
set mail=%mail%"|pc4-OK"
blat.exe -to [email protected] -f [email protected] -server 172.x.x.x -s "test" -body %mail%
gives me an email with the body:
backups:
pc1-OK"
pc2-OK
pc3-OK
pc4-OK
Why is there a " after the first PC?