User Tools

Site Tools


api:dk11:delphi:gisinternals.changedir_string

Table of Contents

ChangeDir method

DK11 for Delphi | GisInternals.ChangeDir | Enums | Fields | Methods | Types

Change directory to directory provided by _path. If file do not exists or path is an URL then result will be empty String and directory will not be modified

Syntax

// Delphi
function ChangeDir(
  const _path : String
) : String;
// C++ Builder
extern DELPHI_PACKAGE UnicodeString ChangeDir(
  const UnicodeString _path
);

Parameters

Name Type Description
_path String file path

Result

Type Description
String Change directory to directory provided by _path.

Remarks

Function must be paired GisRestoreDir; Function is thread save; GetPathAbsolute should not be used before GisRestoreDir will be called;
Function expands any embedded aliases (see GisAliasList)

2019/02/08 01:13