Folder size in VC++ dialog based application.
-
How to get foder size? eg:there is a folder "new" in c:\\ i want to get size of this folder how to get this in VC++ dialog based application.
-
How to get foder size? eg:there is a folder "new" in c:\\ i want to get size of this folder how to get this in VC++ dialog based application.
sushildaga1984 wrote:
How to get foder size? eg:there is a folder "new" in c:\\ i want to get size of this folder how to get this in VC++ dialog based application.
find size of all files of folder and add them. It gives you folder size.
-
How to get foder size? eg:there is a folder "new" in c:\\ i want to get size of this folder how to get this in VC++ dialog based application.
sushildaga1984 wrote:
How to get foder size?
Are you wanting the size of the folder itself, or the size of all files in the folder?
"Normal is getting dressed in clothes that you buy for work and driving through traffic in a car that you are still paying for, in order to get to the job you need to pay for the clothes and the car and the house you leave vacant all day so you can afford to live in it." - Ellen Goodman
"To have a respect for ourselves guides our morals; to have deference for others governs our manners." - Laurence Sterne
-
sushildaga1984 wrote:
How to get foder size?
Are you wanting the size of the folder itself, or the size of all files in the folder?
"Normal is getting dressed in clothes that you buy for work and driving through traffic in a car that you are still paying for, in order to get to the job you need to pay for the clothes and the car and the house you leave vacant all day so you can afford to live in it." - Ellen Goodman
"To have a respect for ourselves guides our morals; to have deference for others governs our manners." - Laurence Sterne
Size of folder
-
Size of folder
Since it's just an entry in the FAT or MFT, I can only assume it's the size of an allocation unit (e.g., 4KB). Although on an NTFS volume, folder names just might be "resident data" in the MFT itself and not consume any clusters.
"Normal is getting dressed in clothes that you buy for work and driving through traffic in a car that you are still paying for, in order to get to the job you need to pay for the clothes and the car and the house you leave vacant all day so you can afford to live in it." - Ellen Goodman
"To have a respect for ourselves guides our morals; to have deference for others governs our manners." - Laurence Sterne