Then type the following instructions (replace the full name for the folders below by your own directory structure). The example below copies the directory structure of C:\YourExistingFolder into a new folder called TheNewFolder under drive C:
xcopy /t /e "C:\YourExistingFolder" "C:\TheNewFolder"
/t = Copies the subdirectory structure, but not the files
/e = Copies subdirectories, including any empty ones
Please note that some instructions on the internet forget to use " " around the directory names and at least on Windows 10 this results in errors!
No comments:
Post a Comment