PDA

View Full Version : Compare 5 directories and select largest?


dougcvc
29th May 2009, 09:03
I am trying to compare up to 5 folders in size and select which ever one is largest but i am struggling at the moment.

Any obvious suggestions?

I have tried using arrays, a combination of getsize and locate and I have managed to get all the folder sizes (in KB) in to registers,

$0, $1 , $2, $3 , $4 , $5

I think i need to use IntCmp but am having difficulty doing so many.

Many thanks.

Doug

Afrow UK
29th May 2009, 09:47
Use LogicLib.

Stu

dougcvc
29th May 2009, 10:26
Thank you - got it sorted now! :)