您的位置:首页 > 运维架构

[BAT] xcopy拷贝远程服务器共享文件到本地

2017-06-14 10:52 316 查看
net use * /del /yes
NET USE Y: \\10.86.17.243\d$ Autotest123 /user:MSDOMAIN1\doautotester

set sourcePath="Y:\DOAutomationTest\automation_do_scriptlibrary_soapui\Compare Test and Benchmark Environment\Version 1\direct"
set targetPath="C:\Program Files\SmartBear\ReadyAPI-1.9.0\bin\scripts\direct"

pushd %sourcePath%
xcopy %sourcePath%\*.groovy %targetPath% /R /Y

net use * /del /yes
pause
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: