I am trying to exclude a folder from xcopy to avoid a cyclic copy error, my script is doing this..
xcopy c:\test c:\test\myfolder\tmp /EXCLUDE:c:\test\myfolder\exclude.txt /E
My exclude.txt file has this inside..
c:\test\myfolder
\myfolder\
But it still giving me the cyclic copy error, where am I going wrong?