Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. C#
  4. Size of Folder

Size of Folder

Scheduled Pinned Locked Moved C#
com
4 Posts 3 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • M Offline
    M Offline
    Meysam Mahfouzi
    wrote on last edited by
    #1

    I want to determine the total size of some folder including its contents.


    Don't forget, that's

    Persian Gulf

    not Arabian gulf!


    Murphy:
    Click Here![^]


    I'm thirsty like sun, more landless than wind...

    D W 2 Replies Last reply
    0
    • M Meysam Mahfouzi

      I want to determine the total size of some folder including its contents.


      Don't forget, that's

      Persian Gulf

      not Arabian gulf!


      Murphy:
      Click Here![^]


      I'm thirsty like sun, more landless than wind...

      D Offline
      D Offline
      Dave Kreskowiak
      wrote on last edited by
      #2

      You would have to walk the directory tree from the folder your want, adding up all the file sizes inside the folder and subfolders. RageInTheMachine9532

      1 Reply Last reply
      0
      • M Meysam Mahfouzi

        I want to determine the total size of some folder including its contents.


        Don't forget, that's

        Persian Gulf

        not Arabian gulf!


        Murphy:
        Click Here![^]


        I'm thirsty like sun, more landless than wind...

        W Offline
        W Offline
        wibblewibblewibble
        wrote on last edited by
        #3

        Here is an example. http://www.codeproject.com/useritems/showdirsize.asp Barry

        M 1 Reply Last reply
        0
        • W wibblewibblewibble

          Here is an example. http://www.codeproject.com/useritems/showdirsize.asp Barry

          M Offline
          M Offline
          Meysam Mahfouzi
          wrote on last edited by
          #4

          Thanks!

          1 Reply Last reply
          0
          Reply
          • Reply as topic
          Log in to reply
          • Oldest to Newest
          • Newest to Oldest
          • Most Votes


          • Login

          • Don't have an account? Register

          • Login or register to search.
          • First post
            Last post
          0
          • Categories
          • Recent
          • Tags
          • Popular
          • World
          • Users
          • Groups