friends;
how do i know if there is a partition d or e or f and how do i know a available space
thank you
how do i know if there is a partition d or e or f and how do i know a available space
thank you
local tDriveList = Drive.Enumerate(); Debug.ShowWindow(); for i = 1, Table.Count(tDriveList) do local nMegabytes = Drive.GetFreeSpace(tDriveList[i]) if (nMegabytes ~= -1) then local nBytes = nMegabytes * 1000000; Debug.Print(String.Left(tDriveList[i], 2) .. " = " .. String.GetFormattedSize(nBytes, FMTSIZE_AUTOMATIC, false) .. "\r\n"); else Debug.Print(String.Left(tDriveList[i], 2) .. " = unknown\r\n"); end end
Comment