标签:ide sync configure conf cmd shell cmdshell ram div
1开启xp_cmdshell:
‘xp_cmdshell‘是一个advanced option,所以需要先打开选项‘show advanced options‘并激活后,再设置其它选项
--激活show advanced options:
exec sp_configure ‘show advanced options‘, 1
go
RECONFIGURE WITH OVERRIDE
go
--开启xp_cmdshell:
exec sp_configure ‘xp_cmdshell‘, 1
go
RECONFIGURE WITH OVERRIDE
go
2调用bat批处理文件:
EXEC master..xp_CMDShell ‘"D:\Program\SUNLIKE 365-FT\FT服务器365-SYNC.BAT"‘
3批处理调用jar
标签:ide sync configure conf cmd shell cmdshell ram div
原文地址:https://www.cnblogs.com/salv/p/10430257.html