sqlcmd -S SERVERNAME -d MYDATABASE -U USERNAME -P PASSWORD -i C:pathmysqlfile.sql -o C:path esults.txt