What's the error?
from your bit of code, you are trying to make a call to a cmdline app, I don't see anywhere where you are making use of xp_cmdshell.
xp_cmdshell @sqlcmd. If u get an error, you need to enable it.
-----------------------------
www.cbtr.net
.: SQL Backup Admin Tool[/url] :.