locked
How to get folder size of local foler in Windows 8.1

    Question

  • Hello,

    I wanted to know Local Folder Size.?(e.g. 210 MB)

    for e.g. I have an application which would download some of the content into my local folder and I want to check the size of my local folder how much MB of GB is there.

    How I could get it. in windows 8.1..?

    I have tried with MSDN and google also but there is no clue.

    Thank you,

    -Jitendra Jadav.


    Jitendra Jadav

    Friday, March 07, 2014 11:22 AM

Answers

  • You can get the size of a file from the StorageFile's GetBasicPropertiesAsync.

    For a folder you can add up the size of its containing files.

    --Rob

    Friday, March 07, 2014 7:33 PM
    Owner

All replies

  • You can get the size of a file from the StorageFile's GetBasicPropertiesAsync.

    For a folder you can add up the size of its containing files.

    --Rob

    Friday, March 07, 2014 7:33 PM
    Owner
  • Hi Rob Caplan,

    In my storage folder I'm having 100000 Files i have to get all the item GetBasicPropertiesAsync and add  each file size it will take lot time is there any solution for this rather than this ...

    Tuesday, July 15, 2014 7:47 AM