GoBCP.cmd
SET YOURSQL ="sql goes here"
SET YOURFILE =a:\filename.utf8.txt
SET YOURINSTANCE =instance name goes here
SET YOURPASSWORD =password goes here
bcp %YOURSQL% queryout %YOURFILE% -c -C65001 -t , -r \n -U sa -S localhost\%YOURINSTANCE% -P %YOURPASSWORD%