J
J
Janus742016-01-05 21:48:51
cmd/bat
Janus74, 2016-01-05 21:48:51

How to copy source directory using robocopy?

Hello!
I couldn't find an answer to my question on the internet.
The robocopy c:\1 d:\ command will copy the contents of the c:\1 directory to the d:\ drive
But how do you copy the source directory with robocopy?
What would a directory d:\1 be created on drive D:
Please tell me.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
J
Janus74, 2016-01-05
@Janus74

found the answer
, you need to specify the path to a non-existent target directory, robocopy will create it
robocopy c: \ 1 d: \ 1
, in principle, everything)
ps.
using /COPY:TDASO ​​copies the ACl information from the source directory to the target directory

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question