Generate CRC-32 Checksum with batch file
Posted: 12 Jun 2014 15:02
Hey everyone, sorry I have been away for a while, been busy with school and all, but...
I recently looks at an old batch file I created for a YouTube video to register a OCX for the system (MSCOMCTL.OCX)
Well my code is efficient, but I would like to make it more.. Well I have a function (Already) to check if the file exists on the System32
directory and if it finds this file (That OCX ) I want it to check if it is the original file and not corrupted or anything.. So therefore I would
need to compare the found file's CRC-32 Checksum to the original file.
Does anyone have an idea of a function that can do this without using any 3rd EXE party app? Just native batch please .
I recently looks at an old batch file I created for a YouTube video to register a OCX for the system (MSCOMCTL.OCX)
Well my code is efficient, but I would like to make it more.. Well I have a function (Already) to check if the file exists on the System32
directory and if it finds this file (That OCX ) I want it to check if it is the original file and not corrupted or anything.. So therefore I would
need to compare the found file's CRC-32 Checksum to the original file.
Does anyone have an idea of a function that can do this without using any 3rd EXE party app? Just native batch please .