All Forums >> [Scripting] >> Post a VBScript >> Compare 2 File System Locations Do you like VisualBasicScript.com? Link to us and help spread the word about our forum. Thanks!
A coworker wanted a script to compare two directories against one another to see in a convenient report what the differences were between the directory and file structure of the two locations. This script takes two directories (or just a simple drive letter) as parameters and then tries to match each file and folder in the first location to a corresponding entry in the second location. Matches will only occur if the file exists and shares the same Modified On date.
This first version is probably a little bit crude, but it does give a nice, tab-indented report file to display the file-system hierarchy. I would really like to make the reports more useful. I would love if they could be in XML/HTML format with different color schemes to immediately give the user the information they want. If anyone is interested in expanding this, let me know as I feel this would be a useful enhancement.
Thanks for the script. I guess this is exactly what i have been searching for. Moreover even though windiff exists, it is not possible to customise as we want with that.