Jump to content
Sign in to follow this  
Lakesat

file compare (binary)

Recommended Posts

Lakesat

I searched through Autoit help and didn't found any function that compare the content of two files (binary). You guys have any thought on how it could be done?

Share this post


Link to post
Share on other sites
Lakesat

FileRead returns characters, but they are just as well compared as binary.

If FileRead("file1.ext") == FileRead("file2.ext") Then
    ; Files match
Else 
    ; Files don't match
EndIf
Thanks a bunch... That'll help for sure.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.