备份如果选映射驱动器会报找不到路径
开启 xp_cmdshell 服务
exec sp_configure 'show advanced options', 1
go
reconfigure
go
exec sp_configure 'xp_cmdshell', 1
go
reconfigure
go
exec xp_cmdshell 'net use Z: \\192.168.186.130\d$ "lucky2012" /user:192.168.186.130\administrator'
© 2016, 新之助meow. 原创文章转载请注明: 转载自http://www.xinmeow.com