PDA

View Full Version : Suggestion: Compare Folders vs A file listing dirs


darkstone
06-Jan-2004, 01:13 PM
Hello,

As far as I have a removable hard disk unit in my PC, sometimes I need to compare contents from two of my removable hard disks. It would be very useful if I could compare:

1) the folders in the currently installed hard disk,

2) and a text file listing the directories of the previous installed hard disk, generated in the command prompt (in WindowsXP):
dir *.* /s > myfile.txt.

I've tried to compare 2 files of listed dirs but there are too many differences to create the proper rules. It would be easy to have a parser of listed text dir reports integrated in BC (comparison not editable, of course!).

Thanks,
DS

P.D: Any suggestions to help me to solve my problem are welcome!

jdmarch
07-Jan-2004, 06:22 AM
Hi DS,

BC can do even better than what you are requesting. Look up "snapshot" in BC help. Here are a few excerpts:

"...the Save Snapshot command saves a read-only listing of the specified folder, and all of its subfolders, including each file's timestamp, size, and file attributes... Snapshot files can be loaded at a later date and compared to a live folder. You can load a snapshot just like any other base folder... If CRCs of the files are saved, then CRC comparisons can be used to determine whether the contents of files have changed."

darkstone
07-Jan-2004, 02:47 PM
WONDERFUL!

Thank you and thanks to BC! -> I LIKE THIS TOOL!