Intel® Fortran Compiler 18.0 Developer Guide and Reference

GETDRIVESQQ

Portability Function: Reports which drives are available to the system.

Module

USE IFPORT

result = GETDRIVESQQ( )

Results

The result type is character with length 26. It is the positional character string containing the letters of the drives available in the system.

The returned string contains letters for drives that are available, and blanks for drives that are not available. For example, on a system with A, C, and D drives, the string 'A CD' is returned.

On Linux* and macOS* systems, the function returns a string filled with spaces.

Example

See the example for GETDRIVESIZEQQ.

See Also