file.getSystemDisk

Syntax file.getSystemDisk ()

Params None required.

Action Gets the name of the system disk - the one that has the active System Folder.

Returns The name of the system disk.

Examples file.getSystemDisk ()

   » "C:\\"


file.getSystemDisk ()

   » "System:"

string.kBytes (file.freeSpaceOnVolume (file.getSystemDisk ()))

   » "65459K"

Notice the use of three nested Frontier verbs to get the information we want and display it as desired.

See Also file.getSystemFolderPath

Discuss