xcopy /z does nothing!!!!

J

jameshanley39

I am finding that the /Z switch on xcopy has no effect.

It works on Copy - copy /z

I am aware of what it does, and how it works. I have used it with
Copy.

Can anybody else see either
- the same problem with xcopy on their machine ?
- that it does have an effect on their machine ?

I am wondering if this is an XP problem

When I say xcopy with /z does nothing. I mean, xcopy behaves exactly
the same without it.
 
P

Pegasus \(MVP\)

I am finding that the /Z switch on xcopy has no effect.

It works on Copy - copy /z

I am aware of what it does, and how it works. I have used it with
Copy.

Can anybody else see either
- the same problem with xcopy on their machine ?
- that it does have an effect on their machine ?

I am wondering if this is an XP problem

When I say xcopy with /z does nothing. I mean, xcopy behaves exactly
the same without it.

The effect of the /z switch will only become visible in cases when
a networking problem occurs during the copy process.
 
J

jameshanley39

The effect of the /z switch will only become visible in cases when
a networking problem occurs during the copy process.-


it seems you're right..

copy /z would resume even after a ctrl-c, with a network copy, as it
would when removing a cable. I assumed that xcopy would do the same
but no.

When one pulls the cable out. Then xcopy will do it. And it gives this
error

File creation error - The network location cannot be reached. For
information ab
out network troubleshooting, see Windows Help.

and it can be resumed.

once or twice though, after doing it many times.. maybe with or
without /z I don't know. It said after I pulled the cable. (it
couldn't reach the mapped network drive)
Invalid drive specification
0 File(s) copied
And in that instance, I am not sure what it did but it wasn't a
renewable thing.
If I could repeat the error I would be able to test that one further.

I can test for sure if it's resuming, by looking at the file with
xvi32 (binary file editor), and then finding the end (I do that by
going to the bottom and searching up for a non zero character, like
01 hex string. Then that gets me to near te end, from there I can see
the end and click to the end, and see the number of the last byte).
After doing a copy where I left it for say a while, maybe 20sec, to do
like 100MB, I can do a small copy, pulling the network cable out
quickly, and see if it is 9MB(obviously meaning it restarted it) or
over 100MB(meaning it resumed it).
xcopy /z does not provide a %, unlike copy /z. With copy /z, I can see
if it resumed 'cos it starts at the % it left off at.
 

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