[BAT] xcopy拷貝遠程服務器共享文件到本地


net use * /del /yes

NET USE Y: \\10.86.17.243\d$ Autotestpassword /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


免責聲明!

本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。



 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM