Thread: Size of a Directory

  1. #1

    Size of a Directory

    Does anyone know of a function that would return the size of a specified directory??
    Thanks in advance

  2. #2
    train spotter
    Join Date
    Aug 2001
    near a computer

    You could use FindFile() and total all the file sizes.
    "Man alone suffers so excruciatingly in the world that he was compelled to invent laughter."
    Friedrich Nietzsche

    "I spent a lot of my money on booze, birds and fast cars......the rest I squandered."
    George Best

    "If you are going through hell....keep going."
    Winston Churchill

  3. #3
    Thanks, I'll give it a go.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Memory leaks problem in C -- Help please
    By Amely in forum C Programming
    Replies: 14
    Last Post: 05-21-2008, 11:16 AM
  2. Couple errors please help :-D
    By JJJIrish05 in forum C Programming
    Replies: 9
    Last Post: 03-06-2008, 01:54 AM
  3. Replies: 16
    Last Post: 11-23-2007, 12:48 PM
  4. An exercise in optimization
    By Prelude in forum Contests Board
    Replies: 10
    Last Post: 04-29-2005, 03:06 PM
  5. Finding the size of a directory
    By J_Bravo in forum C++ Programming
    Replies: 3
    Last Post: 05-08-2002, 07:36 AM