Size of a Directory

This is a discussion on Size of a Directory within the Windows Programming forums, part of the Platform Specific Boards category; Does anyone know of a function that would return the size of a specified directory?? Thanks in advance Joe...

  1. #1
    Unregistered
    Guest

    Size of a Directory

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

  2. #2
    train spotter
    Join Date
    Aug 2001
    Location
    near a computer
    Posts
    3,859
    No.

    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
    Unregistered
    Guest
    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

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21