User Tools

Site Tools


api:dk11:delphi:gisinternals.getfiledir_string

Table of Contents

GetFileDir method

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

Returns directory of a file. If file do not exists or path is an URL then result will be empty String

Syntax

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

Parameters

Name Type Description
_path String file path

Result

Type Description
String Directory of a file.

Remarks

function is thread save;
Function expands any embedded aliases (see GisAliasList)

2019/02/08 01:13