22,207
社区成员
发帖
与我相关
我的任务
分享
exec sys.xp_cmdshell 'net use z: /delete'
--OR
exec sys.xp_cmdshell 'net use z: /del'
exec sys.xp_cmdshell 'net use z: \\Server\Share$ /persistent:YES'
--try
exec sys.xp_cmdshell 'net use z: \\Server\Share$ /persistent:yes'