Reference > Functions reference > Get functions > Get(SystemDrive)
 

Get(SystemDrive)

Returns the drive letter (Windows) or volume name (macOS) where the running operating system is located.

Format 

Get(SystemDrive)

Parameters 

None

Data type returned 

text

Originated in 

FileMaker Pro 8.0

Notes 

This function is supported only in FileMaker Pro Advanced and runtime solutions. In other FileMaker products, it’s not supported and returns an empty string.

Example 1 

Returns /C:/ in Windows when the operating system is on the C: drive.

Returns /DriveName/ in macOS when the operating system is on a volume named DriveName.

Related topics 

Functions reference (category list)

Functions reference (alphabetical list)

About formulas

About functions

Defining calculation fields

Using operators in formulas