this only compares the initial structure in FolderA (in my case 8 folders, and nothing in those folders.)
[
Yes, you're right.
1. That's all it was designed to do otherwise it wouldn't conform to the KISS method of coding.
2. Each situation is different, which is why we frown on hijacking threads.
Not sure what you asking, but if you want to check sub folders, AND the sub folder structure of FolderA was identical to FolderB, you could do a search and replace of FolderA with FolderB in the path and check that way.
Otherwise you'd have to gather a list of all the folders in FolderB (including the top level FolderB itself), and check whether each file from FolderA (including subfolders) exists in any of the FolderB structure. Duplicate file names in different FolderB folders could really foul up the validity of your results.
Finally you'd have to flip all the logic so FolderB is the master and FolderA is the slave.
Dusty brings up a good point. Files with identical names do not necessarily have identical content.
You didn't mention your OS <sigh> but there is a PowerToy called
SyncToy that may help. You don't actually have to sync anything, it has preview function. XP, VISTA only.