File: D:/bin/systeminfocheck/systeminfocheck.cmd
:: (SS,9/10/15) run systeminfo and email the results
d:
cd d:\bin\systeminfocheck
systeminfo >logtoday.txt
:: append to main log file
echo. >>log.txt
type logtoday.txt >>log.txt
echo ------------------------------------------------------------------------------->>log.txt
:: send results in email
itpSendEmail low purchases@itpartnership.com systeminfocheck@itpartnership.com "Web Server System Info Check" logtoday.txt
:: itpSendEmail high surinder@itpartnership.com systeminfocheck@itpartnership.com "System Info Check" logtoday.txt