CHANGEDIRQQ

Run-Time Function: Makes the specified directory the current, default directory.

Module: USE DFLIB

Syntax

result = CHANGEDIRQQ (dir)

dir
(Input) Character*(*). Directory to be made the current directory.

Results

LOGICAL(4). .TRUE. if successful; otherwise, .FALSE..

If you do not specify a drive in the dir string, the named directory on the current drive becomes the current directory. If you specify a drive in dir, the named directory on the specified drive becomes the current directory.

Compatibility

CONSOLE STANDARD GRAPHICS QUICKWIN GRAPHICS WINDOWS DLL LIB

See Also: GETDRIVEDIRQQ, MAKEDIRQQ, DELDIRQQ, CHANGEDRIVEQQ

Example

  USE DFLIB
  LOGICAL(4) status
  status = CHANGEDIRQQ('d:\fps90\bin\bessel')