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'