xp_cmdshell with net send inside a stored procedur

  • I can execute xp_cmdshell 'net send operator C drive is full',no_output in the query analyzer and through Agent job, it sends the message. But if I put this command as part of a stored procedure and execute it, there is not messagei. Any idea ? Thanks.

  • Never mind. It works. My if condition before xp_cmdshell was wrong. Sorry false alarm.

Viewing 2 posts - 1 through 1 (of 1 total)

You must be logged in to reply to this topic. Login to reply