New
#1
XCopy won't copy the subfolders and if it does, they're empty
I have a list of 98 files with their exact directory. I want to copy said files to a new location, so I thought Xcopy would work for that but apparently not.
The best result I could get was SOME of the subfolders would be created, but ALL of the files would be placed into the root destination directory and NOT in their subfolders so every subfolder in the destination was just empty and it only grabbed some of the subfolders for whatever reason.
This is an example of my Xcopy code for one of the 98 files:
xcopy "F:\Docs\Unreal Projects\Racer_Backup_2022_01_04\Content\1_Project\Meshes\Prefabs\CharacterShowcase_PF.uasset" "F:\Desktop2020\ModifiedFiles\" /e /i
I've also tried other switches like /t /s etc. but it doesn't make a difference.
I thought this would create the folders: Docs\Unreal Projects\Racer_Backup_2022_01_04\Content\1_Project\Meshes\Prefabs\ in the destination, but it doesn't. At best it only goes back one subfolder but places the file in the root F:\Desktop2020\ModifiedFiles". At worst, it doesn't even take the first subfolder and still places the files in F:\Desktop2020\ModifiedFiles\
Any idea of a way to fix my Xcopy code?