Sorting order of directory comparison

General questions about using ExamDiff Pro, ideas for new features, bug reports, and usage tips.
Post Reply
Mark852
New Member
Posts: 9
Joined: Fri Dec 17, 2004 5:03 am

Sorting order of directory comparison

Post by Mark852 »

Examdiff should respect the file names within a filder structure if the view is sorted by the "relative path" column.

Example:

Assuming you have the following folder structures:

Code: Select all

C:\FOO          C:\BAR
¦   fileA       ¦   fileA
¦   fileB       ¦   fileC
¦               ¦
+---sub         +---sub
        fileA           fileA
        fileB           fileC
        fileC          
If I do a comparison of the two folders using "examdiff C:\foo C:\bar", I get a result like this
( /\ means sorting order of the column; the sorting order of the missing files varies, depending on some unknown factors):

Code: Select all

C:\foo
File Name       Relative Path /\  ... Status
fileA           .\                    Same
fileB           .\                    Deleted
fileA           .\sub\                Same
fileC           .\sub\                Same
fileB           .\sub\                Deleted
<empty line>
----------------------------------------------
C:\bar
File Name       Relative Path     ... Status
fileA           .\                    Same
<empty line>
fileA           .\sub\                Same
fileC           .\sub\                Same
<empty line>
fileC           .\                    Added

Or, if I sort by the lower pane:

Code: Select all

C:\foo
File Name       Relative Path     ... Status
fileA           .\                    Same
<empty line>
fileA           .\sub\                Same
fileC           .\sub\                Same
fileB           .\sub\                Deleted
fileB           .\                    Deleted
----------------------------------------------
C:\bar
File Name       Relative Path /\  ... Status
fileA           .\                    Same
fileC           .\                    Added
fileA           .\sub\                Same
fileC           .\sub\                Same
<empty line>
<empty line>

What I would like to have is a result like this (respecting the file names within the folders):

Code: Select all

C:\foo
File Name       Relative Path /\  ... Status
fileA           .\                    Same
fileB           .\                    Deleted
<empty line>
fileA           .\sub\                Same
fileB           .\sub\                Deleted
fileC           .\sub\                Same
----------------------------------------------
C:\bar
File Name       Relative Path     ... Status
fileA           .\                    Same
<empty line>
fileC           .\                    Added
fileA           .\sub\                Same
<empty line>
fileC           .\sub\                Same

This would it make much more easier to compare two folder structures for a synchronisation of them.

And there should be an option how the order of file names should be.
Either normal ordering (file1, file10, file2) or the new Windows XP ordering scheme (file1, file2, file10).[/quote]
User avatar
psguru
Site Admin
Posts: 2232
Joined: Sat May 15, 2004 4:23 pm
Location: California
Contact:

Post by psguru »

Use Options | Dir Comparison | Initial Sorting | Sort = "Both directories", Column = "Path" (in this mode no arrow will appear on directory view columns).
psguru
PrestoSoft
Mark852
New Member
Posts: 9
Joined: Fri Dec 17, 2004 5:03 am

Post by Mark852 »

THanks,

that exactly what I'm looking for.

I missed this option all the times.
Post Reply