网站首页
编程语言
数据库
系统相关
其他分享
编程问答
totalsize
2024-06-03
02windows系统查看当前目录下文件夹大小
#运行powershell复制下面命令执行Get-ChildItem-Directory|ForEach-Object{$folder=$_$totalSize=(Get-ChildItem-Path$folder.FullName-Recurse|Measure-Object-PropertyLength-Sum).Sum$sizeInGB="{0:N2}"-f($totalSiz