Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Detecting a File System

Status
Not open for further replies.

hnd

Programmer
Apr 11, 2000
450
DE
I am using borland C++ Builder to write an Application that should run with a NTFS Filesystem only.<br><br>Is there a way to detect the type of the current file system? (NTFS or FAT)<br><br>Thank you in advance.<br> <p>hnd<br><a href=mailto:hasso55@yahoo.com>hasso55@yahoo.com</a><br><a href= > </a><br>
 
&nbsp;&nbsp;&nbsp;&nbsp;There is a Windows API function called <i>GetVersionEx</i> that returns OS information. I wonder is there is an API for file systems?<br> <p>James P. Cottingham<br><a href=mailto: > </a><br><a href= Veneer Co., Inc.</a><br>All opinions are mine alone and do not necessarily reflect those of my employer.
 
I know this Function, but there I can get information on the OS only. <p>hnd<br><a href=mailto:hasso55@yahoo.com>hasso55@yahoo.com</a><br><a href= > </a><br>
 
I found the result by myself: There is a procedure<br><div align=center><b>GetVolumeInfo</b></div><br>which can do it.<br><br>Thank you ffat: you showed me the way where to search.<br> <p>hnd<br><a href=mailto:hasso55@yahoo.com>hasso55@yahoo.com</a><br><a href= > </a><br>
 
&nbsp;&nbsp;&nbsp;&nbsp;I found that just before you posted it. Good Luck. <p>James P. Cottingham<br><a href=mailto: > </a><br><a href= Veneer Co., Inc.</a><br>All opinions are mine alone and do not necessarily reflect those of my employer.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top