I am trying to copy test
and test1
folder under %%e ("QA_ENDORSEMENT")
since the folder name is varying.
But I cannot get it done using my code below.
for /f "usebackq delims=" %%e in (`dir /b C:\BACKUPS\UAT`) do (
xcopy "C:\BACKUPS\UAT\%%e\*" "C:\inetpub\wwwroot\" /F /E)