• Using xp_cmdshell pretty much isn't ever a good idea, as for security reasons xp_cmdshell should be disabled.