Batch File/Language Help [Resloved]
Hi,
I am doing batch programming now. Currently, I am doing a if/else clause. I want to ask 2 things. 1st, if i want to do multiple things in the else command, how do i put them together? Using "and"? for example:
ELSE (
net send 192.168.100.78 configuration 1.1 download failed
and
start mailto:[email protected]?subject=Error^&body=Download%%20Has%%20Failed.%%20Please%%20Try%%20To%%20Down load%%20The%%20Configurations%%20Again.
)
The 2nd thing is how do I create txt files using batch commands? Like I want to create a textfile name error.txt in the else clause when the if condition is not met.
Any help is greatly appreciated, thank you.