![]() ![]() There is a small free utility a lot of users use, called TreeSize which will do this for you - Click HERE to download it. If you want it prettier: switch((ls -r|measure -sum Length). It is not possible to see the size of folders in Windows File Explorer - it never has been. Furthermore it will likely count symlinks and junctions multiple times so it's at best an upper bound, not the true size (you'll have that problem with any tool, though).Īn alternative is PowerShell: Get-ChildItem -Recurse | Measure-Object -Sum Length So it will get sizes above 2 GiB wrong 1. Can I copy this to a USB for emergency and free up its 3. Is this typical What sub-folders can be deleted Under hidden files I see'Windows.bt' which I presume is a hidden installation file. However, this has several problems because cmd is limited to 32-bit signed integer arithmetic. The folder 'Windows' is 23.5GB in size, 16.9 GB 'size on disk'. ![]() So it will get sizes above 2 GiB wrong 1. You can just add up sizes recursively (the following is a batch file): echo off set size 0 for /r x in (folder\) do set /a size+ zx echo size Bytes. However, this has several problems because cmd is limited to 32-bit signed integer arithmetic. You can just add up sizes recursively (the following is a batch file): offįor /r %%x in (folder\*) do set /a size+=%%~zx ![]()
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |