To check that files are saved to disk correctly; the system can re-read the disk after saving to verify that the file is readable.
Syntax VERIFY [ON | OFF]
By default the CMD shell has verify OFF
Verify simply checks that the destination file, once written, can be read. No comparison with the source the files occurs.
Copying files with verify OFF can be significantly faster, up to twice as fast.
VERIFY without a parameter will display the current setting.
Valid or no parameters given %ERRORLEVEL% = 0
Bad parameters given = 1
VERIFY is an internal command.
“Most of what is shaping you in the course of your reading you will not be able to remember.
The most formative years of my life were the first five, and if those years were to be evaluated on the basis of my ability to pass a test on them, the conclusion would be that nothing important happened then, which would be false.
The fact that you can’t remember things doesn’t mean that you haven’t been shaped by them” ~ Douglas Wilson, (author of Wordsmithy)
COPY /V - Verify
MOVE - Move files from one folder to another
EXIT - Quit the current script/routine, optionally setting an errorlevel.
Q126457 - VERIFY ON, COPY /V, XCOPY /V commands do not compare data.
Equivalent bash command (Linux): cksum - Print CRC checksum and byte counts