cmd directory size windows code example Example: terminal get folder size windows # On PowerShell: cd "your folder path" ls -r | measure -sum Length