VBcoders Browse New Submit Contact Sign In

No account? Register free

Forgot password?

Compare Files in Different Folders

Patrick v O  (1 Submission)   Files/File Controls/Input/Output   Visual Basic 3.0   Beginner   Wed 3rd February 2021

Rev 8-1-2001. Have you ever had to compare files in two different folders? Mostlikely, you used paper and pencil. This VB snippet shows the contents of 2 folders and flags files with different date or file size. My graphic design is not the best and yes it would be nice to navigate to you folder (now you enter path). For the first step (3+2 hrs work), I think it will do.

Assumes
The code could be improved for graphics and for scan method. If you select 2 folders with each 1000+ files, it could take 45 seconds. Rev 8-1-2001, uses the ItemFind, which makes the code run much faster. Next change is to loop the smallest file count and use the FindItem on the larger file count listview.

Returns
Two listviews with files for each folder, it flags files that are different.

Rate Compare Files in Different Folders (6(6 Vote))

Download Compare Files in Different Folders

Compare Files in Different Folders Comments

No comments yet — be the first to post one!

Post a Comment

0/1000 characters