Winamp & Shoutcast Forums

Winamp & Shoutcast Forums (http://forums.winamp.com/index.php)
-   NSIS Discussion (http://forums.winamp.com/forumdisplay.php?f=65)
-   -   Compare 5 directories and select largest? (http://forums.winamp.com/showthread.php?t=306853)

dougcvc 29th May 2009 09:03

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

Afrow UK 29th May 2009 09:47

Use LogicLib.

Stu

dougcvc 29th May 2009 10:26

Thank you - got it sorted now! :)


All times are GMT. The time now is 18:04.

Copyright © 1999 - 2010 Nullsoft. All Rights Reserved.