Run-Time Function: Makes the specified drive the current, default drive.
Module: USE DFLIB
Syntax
Results:
The result is of type LOGICAL(4). The result is .TRUE. if successful; otherwise, .FALSE.
Because drives are identified by a single alphabetic character, CHANGEDRIVEQQ examines only the first character of drive. The drive letter can be uppercase or lowercase.
CHANGEDRIVEQQ changes only the current drive. The current directory on the specified drive becomes the new current directory. If no current directory has been established on that drive, the root directory of the specified drive becomes the new current directory.
Compatibility
CONSOLE STANDARD GRAPHICS QUICKWIN GRAPHICS WINDOWS DLL LIB
See Also: GETDRIVESQQ, GETDRIVESIZEQQ, GETDRIVEDIRQQ, CHANGEDIRQQ
Example
USE DFLIB
LOGICAL(4) status
status = CHANGEDRIVEQQ('d')