Re: Copy with Verify?



Ok; but what about the info from microsoft?
Does the following only apply to the old real versions of DOS and not to the
current DOS emulators on Windows XP? From:
http://support.microsoft.com/kb/126457

"VERIFY ON, COPY /V, XCOPY /V Commands Do Not Compare Data
Article ID : 126457, Last Review : May 6, 2003, Revision : 2.0
Some versions of the MS-DOS "User's Guide" and online Help indicate that the
/V (verify) switch for the COPY and XCOPY commands actually compares the
source and destination files to determine whether they are identical. This is
not correct. The /V switch verifies that the destination file, once written,
can be read. No comparison of the files occurs.
This information also applies to the VERIFY ON command.
When you use the VERIFY ON command, or the /V switch with the COPY or XCOPY
command, the MS-DOS file system uses the block device driver command code
function 09H, Write with Verify. This verification process consists of
confirming that the data just written can be read (for example, that the data
was not written to a bad sector on the disk). No comparison of the source and
destination data occurs.
To compare the source and destination files, use the MS-DOS FC (file
compare) command after you use the COPY or XCOPY command.
REFERENCES
For more information about the VERIFY, COPY, XCOPY, or FC command, see your
MS-DOS "User's Guide," or use the online Help in MS-DOS versions 5.0 and
later."

I honestly do not know. I am asking, not telling.
--
Bob


"Wesley Vogel" wrote:

I was under the impression that "verify" just checks that the new file is
readable, not that it actually matches the source.

Then you had the wrong impression.

/v Verifies each file as it is written to the destination file to make sure
that the destination files are identical to the source files.

Xcopy HELP
Paste the following line into Start | Run and click OK...

hh ntcmds.chm::/xcopy.htm

Also type: xcopy /? in a command prompt.

--
Hope this helps. Let us know.

Wes
MS-MVP Windows Shell/User

In news:54DA5387-5A90-4C4D-BC8C-868392FF756D@xxxxxxxxxxxxx,
rmace <rmace@xxxxxxxxxxxxxxxxxxxxxxxxx> hunted and pecked:
I was under the impression that "verify" just checks that the new file is
readable, not that it actually matches the source.
--
Bob


"Talal Itani" wrote:


Under DOS, xcopy has a verify switch. When I copy in XP, is there a
verify option? Thanks.

T.I.


.



Relevant Pages

  • Re: Copy with Verify?
    ... Does the following only apply to the old real versions of DOS and not ... "VERIFY ON, COPY /V, XCOPY /V Commands Do Not Compare Data ... This information also applies to the VERIFY ON command. ...
    (microsoft.public.windowsxp.general)
  • Re: Copy with Verify?
    ... MS-MVP Windows Shell/User ... and xcopy do but that's true of the old DOS operating sytems up thru ... This information also applies to the VERIFY ON command. ... To compare the source and destination files, ...
    (microsoft.public.windowsxp.general)
  • Re: Why is XP so Dumb?
    ... Specifies the destination of the files you want to copy. ... Suppresses the display of xcopy messages. ... xcopy prompts you to specify whether ... Windows XP does not use this command. ...
    (microsoft.public.windowsxp.basics)
  • Re: Why is XP so Dumb?
    ... Specifies the destination of the files you want to copy. ... Suppresses the display of xcopy messages. ... xcopy prompts you to specify whether ... Windows XP does not use this command. ...
    (microsoft.public.windowsxp.basics)
  • Re: Read Only / Thanks Keith.
    ... >>'attrib' without any parameters will display a directory ... > xcopy command uses archive attributes. ... > a disk containing all files in the default directory on a ...
    (microsoft.public.windowsxp.general)