I'm trying to create a .cmd file which i've completed except one little bit I have a file downloaded automatically, I want to compare this to a file i already have. If the new file is different to the old file then to do some other commands (already written).When I mean the files are different i mean in terms of file size. If anyone can help i'm looking for a way to compare newfile.exe to oldfile.exe then return a boolean (true/false) so I can use that in an if statement e.g. if (oldfile.exe is different to newfile.exe) do some commands endif I'm not sure how you can compare two files and return a boolean (true/false) so I can do my if statement. thanks Rob