Groups | Blog | Home
all groups > sql server (microsoft) > december 2006 >

sql server (microsoft) : script xp_cmdshell



tolcis
12/18/2006 7:45:24 AM
Hi!

I have a batch file (.bat) that I need to execute inside my stored
procedure (SQL 2000).
I am trying to call that batch file using xp_cmdshell command. I am
probably not using it the right way but I am trying to pass a path of
the batch file into xp_cmdshell and it doesn't recognizes it as a
command.
Can you anybody help me with the syntax?

T.
Jonathan Roberts
12/18/2006 10:11:39 PM
[quoted text, click to view]

AddThis Social Bookmark Button