5/27/2023 0 Comments Win folder sizeIf you want it prettier: switch((ls -r|measure -sum Length). To change your display in Windows, select Start > Settings > Accessibility > Text size.To make only the text on your screen larger, adjust the slider next to Text size. 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 Heres how to change the size of text, images, and apps in Windows. ![]() So it will get sizes above 2 GiB wrong 1. In File explorer, right click on folder for which you want to see folder size, and click on Properties in context menu. 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. |