//全てのドライブを取得する public ArrayList GetDirves() { ArrayList ary = new ArrayList(); DriveInfo[] dr = DriveInfo.GetDrives(); foreach (DriveInfo d in dr) { ary.Add(d.Name.ToString()); } return ary; }