--DOS命令
exec xp_cmdshell'mkdir D:\project'
--启用 sp_configure 打开 xp_cmdshell
EXEC sp_configure 'show advanced options', 1;RECONFIGURE;
EXEC sp_configure 'xp_cmdshell', 1;RECONFIGURE
exec xp_cmdshell'mkdir D:\project'
--启用 sp_configure 打开 xp_cmdshell
EXEC sp_configure 'show advanced options', 1;RECONFIGURE;
EXEC sp_configure 'xp_cmdshell', 1;RECONFIGURE