摘要: 1 --更改文件名: 2 exec master..xp_cmdshell 'ren oldfilename,newfilename' 3 --例如: 4 --存在文件:C:\1.txt 5 exec master..xp_cmdshell 'ren C:\1.txt,2.txt' 阅读全文
posted @ 2020-03-27 14:25 iHey 阅读(590) 评论(0) 推荐(2)
摘要: 出现下面错误: SQL Server 阻止了对组件 'xp_cmdshell' 的 过程'sys.xp_cmdshell' 的访问,因为此组件已作为此服务器安全配置的一部分而被关闭。系统管理员可以通过使用 sp_configure 启用 'xp_cmdshell'。有关启用 'xp_cmdshell 阅读全文
posted @ 2020-03-27 14:23 iHey 阅读(539) 评论(0) 推荐(0)