sql server 执行cmd命令,执行exe文件
sp_configure 'show advanced options', 1
Go
reconfigure with override
Go
sp_configure 'xp_cmdshell', 1
Go
reconfigure with override
Go
exec master.dbo.xp_cmdshell ' D:\C3\IFW\sqlJob\ConsoleAppShuttle.exe AGC,\\kawipstransfer\Prop\v-zhany,AU003'
寻找21世纪的伯牙