Skip to content
⌘ NSIS Forum Archive

Compare 5 directories and select largest?

3 posts

dougcvc#

Compare 5 directories and select largest?

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