Running XCOPY With Verification (/\V)

P

Phillip Galey

If you use XCOPY with the /V switch to verify the new file, what is returned
if it determines that the copy is not the same as the original? I need to
know because I want to call the XCOPY command programmatically from a
process object in VB, and it will help to know what kinds of return text for
look for.

There doesn't seem to be a way of testing what is returned if XCOPY /V finds
the copy to be different from the original. Thanks.
 
T

Tom Lavedas

To the best of my knowledge, the verify switch does
nothing. It is there for backward compatibility only.

If you want full byte by byte verification, you will need
to use something like FC.EXE after the copy is completed.
I believe the newer versions of FC (Win NT/2000/XP) return
an errorlevel of 1 if a mismatch exists.

Tom Lavedas
===========
 
M

Michael

Hello I have a prblm and need to have some advice.I have a
3 gig harddrive and a 2 gig.my 3 is the main .when it
reboots it is starting to state that is is experiencing
major prblms and this will result in a total failure.I
have another 2 gig that is formatted.how can I xfr with
out alot of hassle my contents on the main drive to the
new formatted drive,the prblm is hardware not software on
my c.drv.if u can be of help email me
(e-mail address removed)
 
B

Bob I

If you installed Windows 2000 on a drive that small(3 gig), yes you have
a problem. And the 2 gig is even worse. Suggest you copy any important
data on to the 2 gig drive for safety and then purchase a larger drive
and do a fresh install on that.
 

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