1.

Solve : MS-DOS Verify command?

Answer»

I am creating a batch file to copy files from one DRIVE to another. I want to verify that the files are copied correctly. My question is what happens if I set Verify ON and there is a problem with a file? Does DOS just GENERATE a message or does it recopy the file until it gets it right? Or something else? Are messages/error codes generated that I can trap and use to control logic flow in the batch file?

Thanks,
Terryyou can ALWAYS CHECK with %errorlevel%THE "VERIFY" config.sys command is pretty pointless, actually. It was mostly used for unreliable floppy drives- EVERY time DOS copies data to the floppy, it reads it and makes sure it's the same, and if not it writes it again.Quote

It was mostly used for unreliable floppy drives
Good point.
Modern HDD has built-in features to insure proper write operation. If the HDD can not correct a problem in the background, you will get an error message even if verify is off.


Discussion

No Comment Found