you should enable xp_cmdshell if its not already enabled. By default it will be in disabled stateEXEC sp_configure ‘show advanced options’, 1GO—- To update the currently configured value for advanced options.RECONFIGUREGOEXEC sp_configure ‘xp_cmdshell’GOthis will display if its set ot notuse below to set it—- To enable the feature.EXEC sp_configure ‘xp_cmdshell’, 1GORECONFIGUREGO
------------------------------------------------------------------------------------------------------SQL Server MVPhttp://visakhm.blogspot.com/