I just need the format to run this from a .bat file using sqlcmd
USE [XXX]
GO
CREATE USER [domain\IamBadAtCmd] FOR LOGIN [domain\IamBadAtCmd]
GO
USE [XXX]
GO
EXEC sp_addrolemember N'db_datawriter', N'domain\IamBadAtCmd'
GO
USE [XXX]
GO
EXEC sp_addrolemember N'db_datareader', N'domain\IamBadAtCmd'
GO