Ussage of the SQLCMD.EXE is totaly same as OSSQL
Use compiler example from the PSPad help and instead osql use SQLCMD.
It works.
Don't catch output, use -o option to create log as is in the Compiler example

-- 
<http://forum.pspad.com/read.php?2,18695,33344>
PSPad freeware editor http://www.pspad.com

Odpovedet emailem