I know i'm missing something really silly but would like some assistance. I want to create a directory and then add contents into it. The actual location as of now are not the real thing.
C:\Location has some files such as text files or docx or anything.
C:\Location\word.docx and C:\Location\text.txt
I have done
MD "C:\Location\NewName"
XCOPY C:\Location C:\Location\NewName /EXCLUDE C:\Location\NewName
I read about exclude and I added that in to avoid the cyclic problem but it still says can not perform cyclic copy. I would like to add the text files and docx files into the NewName folder. What am I missing?