You are here: start » ppl » statements » drivespace

DRIVESPACE ()

DRIVESPACE ()

Usage:

	DRIVESPACE(drivespec) Return Val: Amount of divespace left of drive drivespec. 

Example:
integer left

	left = DRIVESPACE("c:\")
	println "There are ",tostring(left)," bytes on drive C."

`drivespec´ must include at least a drive letter AND a colon. Backslash is optional. With directory specs it will work also. valid drivespecs are C: C:\ C:\PCB These will all return drivespace left on dirve C
*NOTE On LANTASTIC this will return drivespace of the current physical drive even if it is mapped as a directory.
See also: FileInf, Delete

ppl/statements/drivespace.txt · Last modified: 2019/04/16 14:00
CC Attribution 4.0 International Except where otherwise noted, content on this wiki is licensed under the following license: CC Attribution 4.0 International