robocopy....

G

Guest

Hi Everyone,

I am just trying to do a simple file copy with robocopy, here is what I have
robocopy.exe \\computer1\C$\Documents and Settings\user1\My Documents
\\computer2\C$\Documents and Settings\user2\My Documents /Log:C:\test.log
/TEE /E /ETA /r:3 /COPYALL

Why does it say in the directorities copied, that it skipped one, when it
looks like it copied them all,

Thanks,
Ross
 
P

Pegasus

Ross said:
Hi Everyone,

I am just trying to do a simple file copy with robocopy, here is what I
have
robocopy.exe \\computer1\C$\Documents and Settings\user1\My Documents
\\computer2\C$\Documents and Settings\user2\My Documents /Log:C:\test.log
/TEE /E /ETA /r:3 /COPYALL

Why does it say in the directorities copied, that it skipped one, when it
looks like it copied them all,

Thanks,
Ross

I can't see how your command could have worked. Your paths include
embedded spaces, hence you must surround them with double quotes.
 
G

Guest

I had the lines with spaces surrounded by quotes like this:
"\\computer1\C$\Documents and Settings\user1\My Documents"
 
P

Pegasus

When posting a technical question, please post the exact
command you used, not some misleading approximation.

In your first post you wrote "Why does it say in the directorities[?]
copied, that it skipped one, when it looks like it copied them all,".
When you say "it looks like it copied them all", did it or did it not?
Did you try a different target directory to prove the point? Did you
check for hidden and/or locked folders?

Also: What do the switches /TEE and /CopyAll mean? My version
of robocopy does not have them.
 
G

Guest

The files and folders were not locked. The part the looks like it copied all
is that number of folder from source are for example 8 folders and 8 folders
are at the destination. So it looked like it copied them all. But in the
summary of the log it says that it had a total of 9 in the source. It shows
that one is skipped. The 1 folder is not locked or hidden. Yes I did try
another directory to prove a point and came up with a different number of
skipped folders, but I wanted to try to keep this post simple instead of
complex, for help, this is verbatim from the help of robocopy

/TEE :: output to console window, as well as the log file.
/COPYALL :: COPY ALL file info (equivalent to /COPY:DATSOU).



Ross

Pegasus said:
When posting a technical question, please post the exact
command you used, not some misleading approximation.

In your first post you wrote "Why does it say in the directorities[?]
copied, that it skipped one, when it looks like it copied them all,".
When you say "it looks like it copied them all", did it or did it not?
Did you try a different target directory to prove the point? Did you
check for hidden and/or locked folders?

Also: What do the switches /TEE and /CopyAll mean? My version
of robocopy does not have them.



Ross said:
I had the lines with spaces surrounded by quotes like this:
"\\computer1\C$\Documents and Settings\user1\My Documents"
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top