Retrieves the remaining storage space of the specified device in megabytes (MB).
long @GetDiskFreeSpace(string folder);
Parameters
string folder: The folder name.
Returns
Returns the remaining storage space of the specified device in megabytes (MB).
Notes
This function is supported in version 10.2.9 or higher.
Example CE
$AI_0000 = @GetDataFreeSpace();
$AI_0001 = @GetDiskFreeSpace("\\Storage Card 0");
Description: Retrieves the remaining storage capacity of the data folder into AI_0000 tag, and reads the remaining capacity of the SD Card into AI_0001 tag.
Version Information
Supported Version: 10.2.9 or higher
Related Helps