Getting drive details

Just starting out? Need help? Post your questions and find answers here.
BackupUser
PureBasic Guru
PureBasic Guru
Posts: 16777133
Joined: Tue Apr 22, 2003 7:42 pm

Post by BackupUser »

Restored from previous forum. Originally posted by Voldemort.

How is possible to get size, in megabites, and filesystem (fat, fat32, ntsf) of a disk drive?
BackupUser
PureBasic Guru
PureBasic Guru
Posts: 16777133
Joined: Tue Apr 22, 2003 7:42 pm

Post by BackupUser »

Restored from previous forum. Originally posted by freak.

Hi,

Maybe you want to have a look here:

http://freak.coolfreepages.com/code/

There is a GetDiskSpace and a GetDrives Code.

For more Filesystem Information you can use the GetVolumeInformation_() API which is
described here:
http://msdn.microsoft.com/library/defau ... mation.asp

Hope that helps...

Timo
BackupUser
PureBasic Guru
PureBasic Guru
Posts: 16777133
Joined: Tue Apr 22, 2003 7:42 pm

Post by BackupUser »

Restored from previous forum. Originally posted by Kale.

Or try the resource site :) http://www.reelmediaproductions.com/pb/ ... system.zip pop this in your user libraries folder to access these commands.

--Kale

In love with PureBasic! :)
Post Reply