Old 29th May 2009, 09:03   #1
dougcvc
Junior Member
 
Join Date: May 2009
Posts: 16
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
dougcvc is offline   Reply With Quote
Old 29th May 2009, 09:47   #2
Afrow UK
Moderator
 
Afrow UK's Avatar
 
Join Date: Nov 2002
Location: Surrey, England
Posts: 8,434
Use LogicLib.

Stu
Afrow UK is offline   Reply With Quote
Old 29th May 2009, 10:26   #3
dougcvc
Junior Member
 
Join Date: May 2009
Posts: 16
Thank you - got it sorted now!
dougcvc is offline   Reply With Quote
Reply
Go Back   Winamp & Shoutcast Forums > Developer Center > NSIS Discussion

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump