- Jan
- 829
- 19
I have the following scenario:
As you can see, the Directories have attributes too.
I have no problem to copy the whole structure with external xcopy or robocopy ...
The result in target is the same as in source.
BUT I HAVE a problem to make this with the internal copy command! I tried ...
Then the result is this ...
How can I preserve the directory attributes with the internal copy command?
Greetings!
As you can see, the Directories have attributes too.
I have no problem to copy the whole structure with external xcopy or robocopy ...
Code:
xcopy d:\_Tests\Test-DIR-Structure-for-BAK-CHK v:\_Temp\test /e /h /k
robocopy d:\_Tests\Test-DIR-Structure-for-BAK-CHK v:\_Temp\test /e
The result in target is the same as in source.
BUT I HAVE a problem to make this with the internal copy command! I tried ...
Code:
copy /h /k /s d:\_Tests\Test-DIR-Structure-for-BAK-CHK v:\_Temp\test
Then the result is this ...
How can I preserve the directory attributes with the internal copy command?
Greetings!