.. highlightlang:: us .. index:: FS_GetFreeSpace .. _fs_getfreespace: FS_GetFreeSpace =============== .. us.tag FS_GetFreeSpace ENGLISH New300 FILE_MISC :ref:`FS_GetFreeSpace` retrieves the free disk space of the specified drive. .. function:: nFree = FS_GetFreeSpace(ssFileSystem) .. us.return **Return Value** *nFree* is the free disk space in Bytes. .. us.params **Parameters** .. uparam:: ssFileSystem *ssFileSystem* is the drive name. .. us.example **Example** :: * printf("%d\n", FS_GetFreeSpace("c:\\")); 201637888 .. seealso:: :ref:`overview-files`, :ref:`FS_GetTotalSpace`, :ref:`FS_GetFileSystemList` :sub:`id-1864254`