#format text_markdown ワンライナー集 ============== Windows 10 でディレクトリ容量を計算する --------------------------------------- ```console $totalsize=[long]0;gci -File -r -fo -ea Silent|%{$totalsize+=$_.Length};$totalsize ``` ソース: [How can I check the size of a folder from the Windows command line?](https://superuser.com/questions/837016/how-can-i-check-the-size-of-a-folder-from-the-windows-command-line)