Update measure.ps1

This commit is contained in:
Shockwave 2025-05-23 09:05:37 +08:00
parent 8009ac367b
commit 043bf87d12
1 changed files with 6 additions and 0 deletions

View File

@ -12,3 +12,9 @@ for ($i = 0; $i -lt $files.Length; $i++) {
}
}
$files = Get-ChildItem -Filter *.class -Recurse
for ($i = 0; $i -lt $files.Length; $i++) {
$file = $files[$i]
$msg = "文件 {0}\{1} 大小为 {2}kb" -f $file.DirectoryName, $file.Name, $file.Length / 1kb
}