2014-06-06から1日間の記事一覧
実行するとドライブ毎のゴミ箱に存在するファイルの数とサイズを列挙します。 using System; using System.IO; using System.Runtime.InteropServices; foreach (var driveInfo in DriveInfo.GetDrives()) { Console.WriteLine(driveInfo.Name); if (Recycle…
実行するとドライブ毎のゴミ箱に存在するファイルの数とサイズを列挙します。 using System; using System.IO; using System.Runtime.InteropServices; foreach (var driveInfo in DriveInfo.GetDrives()) { Console.WriteLine(driveInfo.Name); if (Recycle…