My topic is the xcopy command. Like every year at the end of the year, I want to copy my empty folder structure for next year. The command for 2020 to 2021 that I successfully used was as follows: "C:\Users\Myname\Documents\Priv 2020" "C:\Users\Myname\Documents\Priv 2021" /T /E
Now I also use OneDrive and have my folders no longer stored in the system folder "Documents" but in the system folder "Pictures". This is necessary to avoid the thing with the Outlook PST file, which OneDrive can not synchronize. Therefore, I created another xcopy command: "C:\Users\Myname\Pictures\Priv 2021" "C:\Users\Myname\Pictures\Priv 2022" /T /E Unfortunately this does not work at all.
I have also tried a lot, but it was in vain. What surprises me is that the file location of my documents is also on my C disk "C:\Users\Siemons\OneDrive", so the name "OneDrive" appears...
So my question to the community is: How can I make the xcopy command work under this circumstances?
Already now many thanks for your help!
Daniel