Invalid number of parameters xcopy

46 Views Asked by At

I am creating a pipeline script in my jenkins server(windows). I am trying to copy from SOURCE to DESTINATION using following command. I am getting an error 'invalid number of parameters xcopy /O /X /E /H /K' when run the jenkins job. What is the issue in the command below.

xcopy \fileshares\myproject\builds\MyWelcomeApp\org D:\MyWelcomeApp\org /O /X /E /H /K 
1

There are 1 best solutions below

0
Akın Çetin On

Could you try with like this?

xcopy  $ProjectDir\fonts  $FrontEndFilesLocation\$AssemblyName\fonts /E /i /Y /C