CHANGEDRIVEQQ

Portability Function: Makes the specified drive the current, default drive.

Module

USE IFPORT

構文

result = CHANGEDRIVEQQ (drive)

drive

(Input) Character*(*). String beginning with the drive letter.

Results

The result type is LOGICAL(4). On Windows* systems, the result is .TRUE. if successful; otherwise, .FALSE. On Linux* and Mac OS* X systems, the result is always .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

  USE IFPORT
  LOGICAL(4) status
  status = CHANGEDRIVEQQ('d')

関連情報


このヘルプトピックについてのフィードバックを送信

© 1996-2011 Intel Corporation. 無断での引用、転載を禁じます。