USE master
GO
EXEC sp_configure ‘show advanced options’, 1
EXEC sp_configure ‘xp_cmdshell’, ‘1’
RECONFIGURE;
CHECKPOINT;
xp_cmdshell ‘dir c:’
GO
USE master
GO
EXEC sp_configure ‘show advanced options’, 1
EXEC sp_configure ‘xp_cmdshell’, ‘1’
RECONFIGURE;
CHECKPOINT;
xp_cmdshell ‘dir c:’
GO