I'm copying with robocopy the folder C:\users to D:\Backups with the following command:
robocopy "C:\users" "D:\Backups" /e /b /copyall /MT:32 /r:0 /w:0
Instead of copying the folder content from c:\users into D:\Backups it creates a folder users and copies the content into this folder. Result: D:\Backups\Users
How can I avoid this behaviour and get the folders and the files directly into D:\Backups
C:\UsersinD:\Backupsit creates a subfolderD:\Backups\Users. I have worked a lot with robocopy and this behaviour is unique to theuserprofile-Folder. – someone Dec 18 '23 at 13:05