Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
何千ものファイルがあるフォルダーの下で、7 年以上前のすべてのファイルの合計サイズを見つける必要があります。
これを行う簡単な方法はありますか?
FORFILES /D -23-03-2006 /C "cmd /c echo @fsize" > sizes.txt set sz=0 for /f %a in (sizes.txt) do set /a sz=sz+%a echo size: %sz%