----在sql中映射一下
exec master..xp_cmdshell 'net use y: \\192.168.0.99\D$\Backup "admin" /user:192.168.0.99\administrator'
--完成后删除映射
exec master..xp_cmdshell 'net use y: /delete'
转载于:https://www.cnblogs.com/lx0831/archive/2009/04/07/1431113.html
2024-01-17 21:41:58
----在sql中映射一下
exec master..xp_cmdshell 'net use y: \\192.168.0.99\D$\Backup "admin" /user:192.168.0.99\administrator'
--完成后删除映射
exec master..xp_cmdshell 'net use y: /delete'
转载于:https://www.cnblogs.com/lx0831/archive/2009/04/07/1431113.html