in reply to Re^6: Using stat()
in thread Using stat() to get the total size of files in a folder

Sure it does

Um, what were you expecting, a file named /?

Replies are listed 'Best First'.
Re^8: Using stat()
by pankaj_it09 (Scribe) on Nov 25, 2011 at 10:29 UTC
    I want the total size of files just inside C:/ (not getting inside subdirectories).

      So you're still wanting me to fix your one character typo, that you forgot to copy/paste?

        I didn't forget.

        Finally got it glob(C:/*).