compare directories - easy missed function

English support forum

Moderators: Hacker, petermad, Stefan2, white

Post Reply
trevor12
Junior Member
Junior Member
Posts: 65
Joined: 2012-12-06, 15:16 UTC
Location: Czech republic

compare directories - easy missed function

Post by *trevor12 »

I have 2 HDDs, I:\, T:\

directories structure on this HDDs on level1 (assume not subdirectories) is partly same

I need highlight same name directories on this HDDs (only by names, not by content, size or subdirectories..)

Is possible to get this trivial results anyhow (on left panel I have I:\ disk. on Right panel T:\ disk) ?
User avatar
Aezay
Senior Member
Senior Member
Posts: 269
Joined: 2003-02-12, 07:27 UTC
Location: Denmark
Contact:

Post by *Aezay »

Press [Shift + F2] or use the menu item: Mark -> Compare Directories.
Of all the planets I've been to, this one is my favorite.
trevor12
Junior Member
Junior Member
Posts: 65
Joined: 2012-12-06, 15:16 UTC
Location: Czech republic

re

Post by *trevor12 »

this function I know, but result is zero same names directories.

I explain again:

in left panel I have directories structure of I:\ disk (level1) - about 200 dirs
in right panel I have directories structure of T:\ disk (level1) - about 300 dirs

what I want is compare NAMES of directories structures and highlight SAME NAMES of directories on both panels
User avatar
HolgerK
Power Member
Power Member
Posts: 5412
Joined: 2006-01-26, 22:15 UTC
Location: Europe, Aachen

Post by *HolgerK »

Assumed the focus is in the left panel:

Code: Select all

cm_CompareDirsWithSubdirs,cm_FocusRight,cm_ExchangeSelBoth,cm_FocusLeft,cm_ExchangeSelBoth
TC8.50 required.
Execute from command line or create a button and paste the code into the command field.

Regards
Holger
trevor12
Junior Member
Junior Member
Posts: 65
Joined: 2012-12-06, 15:16 UTC
Location: Czech republic

re

Post by *trevor12 »

HolgerK - thank you this is perfect working ... it was above my knowledge - magic combinations of commands in one row command, I believe that this is mighty weapon for geeks, it is shame that in wiki (faq) is not some introduction to the possibilities of this combinations of commands on one row, with basic examples for everyday use ...
User avatar
Aezay
Senior Member
Senior Member
Posts: 269
Joined: 2003-02-12, 07:27 UTC
Location: Denmark
Contact:

Post by *Aezay »

Seems like there needs to be a cm_FocusOther, to avoid ending up in the wrong panel after running your example.

What is the difference between cm_ExchangeSelBoth and cm_ExchangeSelection?
Of all the planets I've been to, this one is my favorite.
User avatar
HolgerK
Power Member
Power Member
Posts: 5412
Joined: 2006-01-26, 22:15 UTC
Location: Europe, Aachen

Post by *HolgerK »

Aezay wrote:Seems like there needs to be a cm_FocusOther, to avoid ending up in the wrong panel after running your example.
Yep, could be of use.
What is the difference between cm_ExchangeSelBoth and cm_ExchangeSelection?
cm_ExchangeSelection is not independent of:
F1:4.b wincmd.ini wrote:MarkDirectories=1 Also select directories (with +)
Regards
Holger
Post Reply