标签:net use rip version json environ file files 本机
net use * /del /yes
NET USE Y: \\远程机IP\d$ 登录密码 /user:domain\登录用户
set sourcePath="Y:\DOAutomationTest\automation_do_scriptlibrary_soapui\Compare Test and Benchmark Environment\Version 1\direct"
set targetPath1="C:\Program Files\SmartBear\ReadyAPI-1.9.0\bin\scripts\direct"
set targetPath2="C:\Program Files\SmartBear\ReadyAPI-1.3.1\bin\scripts\direct"
del /Q %targetPath1%
del /Q %targetPath2%
pushd %sourcePath%
xcopy %sourcePath%\*.groovy %targetPath1% /R /Y
xcopy %sourcePath%\*.groovy %targetPath2% /R /Y
set sourcePath2="Y:\DOAutomationTest\automation_do_scriptlibrary_soapui\JARs"
set targetPath4="C:\Program Files\SmartBear\ReadyAPI-1.9.0\lib"
set targetPath5="C:\Program Files\SmartBear\ReadyAPI-1.3.1\lib"
pushd %sourcePath2%
xcopy %sourcePath2%\jsonassert*.jar %targetPath4% /R /Y
xcopy %sourcePath2%\jsonassert*.jar %targetPath5% /R /Y
net use * /del /yes
pause
标签:net use rip version json environ file files 本机
原文地址:http://www.cnblogs.com/kill0001000/p/7773134.html