Myicq Posted September 7, 2012 Share Posted September 7, 2012 Can I programmatically (example / UDF) would be nice read disk format type, of a given disk ? Reason is that a customer must write data to a CF card, which MUST be in FAT format, not FAT32 or NTFS. Otherwise the embedded old controller can't read data. Customer can be expected to be too stupid to find out this himself. So can I do this: ; return "FAT", "FAT32", "NTFS" or "other" $formatType = _GetVolumeFormat("K") if ($formatType = "FAT") then ; OK else ; Complain endif I looked at WinAPIEx: getVolumeInformation, but it does not appear to return formatting info. [http://msdn.microsoft.com/en-us/library/windows/desktop/aa364993%28v=vs.85%29.aspx] Can I calculate that from returned info here ? I am just a hobby programmer, and nothing great to publish right now. Link to comment Share on other sites More sharing options...
JFX Posted September 7, 2012 Share Posted September 7, 2012 why no use DriveGetFileSystem ? Myicq 1 Link to comment Share on other sites More sharing options...
Myicq Posted September 7, 2012 Author Share Posted September 7, 2012 heh, built in function. *Bangs head on table* Of course I can use this function. Looked all over except help file. Thanks! I am just a hobby programmer, and nothing great to publish right now. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now