Answer the question
In order to leave comments, you need to log in
Different amount of used disk space in Windows XP, Windows 7 and Total Commander, how to solve?
Windows XP
Windows 7
Total Commander
The code from C# produces 3805184, which corresponds to issuing total commander and issuing windows xp.
DriveInfo drive = new DriveInfo(driveLetter);
var test = (drive.TotalSize - drive.TotalFreeSpace).ToString();
Answer the question
In order to leave comments, you need to log in
Is the disc multisession? Probably, xp shows only useful data, and 7 - the volume of all sessions. I could be wrong, there is nothing to check. If so, dig into the IMAPI side: IDiscFormat2Data::get_FreeSectorsOnMedia and IDiscFormat2Data::get_TotalSectorsOnMedia
Smoke
How to properly measure the occupied disk space and ...
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question