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