User Tools

Site Tools


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


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


Name Type Description
_path String file path


Type Description
String Change directory to directory provided by _path.


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)

2020/05/06 01:08