From: Erland Sommarskog on
geebee (geraldjr30(a)hotmail.com(noSPAMs)) writes:
> I now have:
> "C:\Program Files\Microsoft SQL Server\90\Tools\Binn\sqlcmd.exe -i
> c:\zigzag.sql -o c:\tiki.log"

That is not correct. You need the double quotes to specify the command,
since there are spaces in the file path. The correct command should be:

"C:\Program Files\Microsoft SQL Server\90\Tools\Binn\sqlcmd.exe" -i c:\zigzag.sql -o c:\tiki.log



--
Erland Sommarskog, SQL Server MVP, esquel(a)sommarskog.se

Links for SQL Server Books Online:
SQL 2008: http://msdn.microsoft.com/en-us/sqlserver/cc514207.aspx
SQL 2005: http://msdn.microsoft.com/en-us/sqlserver/bb895970.aspx
SQL 2000: http://www.microsoft.com/sql/prodinfo/previousversions/books.mspx