I know you can read the contents of a c drive with readdir but how does it determine free space from used space.
running dos on win95.
thanks all.
I know you can read the contents of a c drive with readdir but how does it determine free space from used space.
running dos on win95.
thanks all.
Depending on your version of win95 you can call the API function GetDiskFreeSpaceEx() or GetDiskFreeSpace().
zen
a call to
system("dir");
will print drive info