Sunday, 23 September 2018

How can I check the size of a folder from the Windows command line?


I want to use the Windows command line to calculate the size of all the files in a folder and subfolder. I would normally do this by right-clicking on the folder and clicking "Properties" but I want to be able to do it on the command line.


Which command can I use?



Answer



You will want to use dir /a/s so that it includes every file, including system and hidden files. This will give you the total size you desire.


No comments:

Post a Comment

Where does Skype save my contact's avatars in Linux?

I'm using Skype on Linux. Where can I find images cached by skype of my contact's avatars? Answer I wanted to get those Skype avat...