Intel® Fortran Compiler Classic and Intel® Fortran Compiler Developer Guide and Reference
A newer version of this document is available. Customers should click here to go to the newest version.
Visible to Intel only — GUID: GUID-08308952-F70E-4F3F-976E-EB608E57C810
Visible to Intel only — GUID: GUID-08308952-F70E-4F3F-976E-EB608E57C810
CHANGEDIRQQ
Portability Function: Makes the specified directory the current, default directory.
Module
USE IFPORT
result = CHANGEDIRQQ (dir)
dir |
(Input) Character*(*). Directory to be made the current directory. |
Results
The result type is LOGICAL(4). It is .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.
Example
USE IFPORT LOGICAL(4) status status = CHANGEDIRQQ('d:\fps90\bin')) ! We are now CCed to 'd:\fps90\bin' status = CHANGEDIRQQ('bessel') ! We are now CCed to 'd:\fps90\bin\bessel'