The Daily Click ::. Forums ::. Klik Coding Help ::. Folder Size
 

Post Reply  Post Oekaki 
 

Posted By Message

Aptennap



Registered
  23/04/2004
Points
  916
30th May, 2008 at 11:24:09 -

How can I get the size of a folder?

 
Oh sweet mary.

Dr. James MD

Addict

Registered
  08/12/2003
Points
  11941

First GOTW AwardSecond GOTW AwardThird GOTW AwardPicture Me This -Round 26- Winner!
30th May, 2008 at 12:37:03 -

Right Click > Properties

 
Image
http://uk.youtube.com/watch?v=j--8iXVv2_U
On the sixth day God created Manchester
"You gotta get that sand out your vaj!" x13
www.bossbaddie.com

OMC

What a goofball

Registered
  21/05/2007
Points
  3516

KlikCast Musician! Guy with a HatSomewhat CrazyARGH SignLikes TDCHas Donated, Thank You!Retired Admin
30th May, 2008 at 13:44:32 -

Solve jou problem? Or did you mean during runtime?

 

  		
  		

lembi2001



Registered
  01/04/2005
Points
  608

VIP MemberIt's-a me, Mario!Wii OwnerI like Aliens!Has Donated, Thank You!PS3 OwnerI am an April Fool
30th May, 2008 at 16:35:03 -

apologies but i am hijacking this thread as i would like to know how to do this at runtime???

 
n/a

Aptennap



Registered
  23/04/2004
Points
  916
31st May, 2008 at 04:59:58 -

That was actually my question too, really I got something working using the file object, where it gets the size of the file of every file in the map. But if theres a submap than it has a problem...

 
Oh sweet mary.

Retrever

Sin Binned (Broke The Rules)

Registered
  02/05/2008
Points
  -50
1st June, 2008 at 09:20:39 -

i want to know to.

 
n/a

Joe.H

Evil Faker

Registered
  19/08/2002
Points
  3305
1st June, 2008 at 10:09:09 -

The only way I can think of doing is running a loop.

You would have to get the filesize of each file in the folder, then each file within any subfolders, etc.

 
My signature is never too big!!!
   

Post Reply



 



Advertisement

Worth A Click